IPXC_ColorSpace::ConvertTo Method

From PDF XChange PDF SDK
Jump to: navigation, search


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT ConvertTo([in]                                         IDblArray*           pSrc,
                  [in]                                         IDblArray*           pDest,
                  [in]                                         PXC_ColorSampleType  nSampleType,
                  [in, defaultvalue(RI_RelativeColorimetric)]  PXC_RenderingIntent  nRenderIntent,
                  [in, defaultvalue(1)]                        ULONG                nNumSamples);

Parameters

pSrc
[in] Pointer to IDblArray.
pDest
[in] Pointer to IDblArray.
nSampleType
[in] Value of PXC_ColorSampleType.
nRenderIntent
[in, defaultvalue(RI_RelativeColorimetric)] Value of PXC_RenderingIntent.
nNumSamples
[in, defaultvalue(1)] Value of ULONG.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IPXC_ColorSpace