IIXC_Page::ReplaceColor Method

From Tracker Software PDF SDK
Revision as of 02:16, 15 June 2015 by Dsbot (Talk | contribs) (Automatic page editing by robot)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The ReplaceColor method replaces one color with another in the page or rectangular area.

Syntax

HRESULT ReplaceColor([in]                      ULONG  nFromColor,
                     [in]                      ULONG  nToColor,
                                               ULONG  nFlags,
                     [in, defaultvalue(NULL)]  RECT*  stRect);

Parameters

nFromColor
[in] Specifies the color to be replaced.
nToColor
[in] Specifies replacement color.
nFlags
Combination of IXC_ColorFlags which specifies how the data will be copied.
stRect
[in, defaultvalue(NULL)] Pointer to RECT structure which defines the rectangular area in which the operation will be performed. If set to NULL then the entire page will be changed.

Return Value

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

See Also

IIXC_Page