IPXC_PageText::GetColor Method

From Tracker Software PDF SDK
Jump to: navigation, search


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

Syntax

HRESULT GetColor([in]   ULONG     nColorIndex,
                 [out]  IColor**  pColor,
                 [out]  float*    nAlpha);

Parameters

nColorIndex
[in] Value of ULONG containing the color index.
pColor
[out] Pointer to IColor 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