IIXC_Page::ReplaceColor Method

From Tracker Software PDF SDK
Revision as of 01:19, 6 May 2015 by Oliynykd (Talk | contribs)

Jump to: navigation, search


The method replaces one color with another on the page.

Syntax

HRESULT ReplaceColor([in]                      ULONG  fromColor,
                     [in]                      ULONG  toColor,
                                               ULONG  nFlags,
                     [in, defaultvalue(NULL)]  RECT*  pRect);

Parameters

fromColor
[in] Specifies the color to be replaced.
toColor
[in] Specifies replacement color.
nFlags
Combination of flags which specifies how the data will be copied. The following flags can be used enum IXC_ColorFlags
pRect
[in, defaultvalue(NULL)] Pointer to RECT structure which defines the rectangular area in which the operation will be performed.

Return Value

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

See Also

IIXC_Page
IXC_ColorFlags