IPXC_PageText::GetColor2 Method

From PDF XChange PDF SDK
Jump to: navigation, search


Gets color from the page text by the given color index.

Syntax

HRESULT GetColor2([in]   ULONG         nColorIndex,
                  [out]  IPXC_Color**  pColor,
                  [out]  float*        nAlpha);

Parameters

nColorIndex
[in] Value of ULONG containing the color index.
pColor
[out] Pointer to IPXC_Color containing the resulting color.
nAlpha
[out] Pointer to float containing the color's alpha value.

Return Value

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

See Also

IPXC_PageText