IPXC_PageRenderParams::SetColor Method

From PDF XChange PDF SDK
Jump to: navigation, search


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT SetColor([in]                     PXC_RenderColor  nColorID,
                 [in]                     INT              nRed,
                 [in]                     INT              nGreen,
                 [in]                     INT              nBlue,
                 [in, defaultvalue(255)]  INT              nAlpha);

Parameters

nColorID
[in] Value of PXC_RenderColor.
nRed
[in] Value of INT.
nGreen
[in] Value of INT.
nBlue
[in] Value of INT.
nAlpha
[in, defaultvalue(255)] Value of INT.

Return Value

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

See Also

IPXC_PageRenderParams