IPXC_PageText::GetColor Method

From PDF XChange PDF SDK
Revision as of 22:46, 12 May 2016 by Palamar (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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