IIXC_Page::ReplaceColor Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
Line 2: | Line 2: | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IIXC_Page::ReplaceColor Method}} | {{#customTitle:IIXC_Page::ReplaceColor Method}} | ||
− | {{#parentPage:PXV:IIXC_Page#Methods|ReplaceColor | + | {{#parentPage:PXV:IIXC_Page#Methods|ReplaceColor|method}} |
The '''ReplaceColor''' method replaces one color with another in the page or rectangular area. | The '''ReplaceColor''' method replaces one color with another in the page or rectangular area. |
Revision as of 06:56, 23 May 2015
The ReplaceColor method replaces one color with another in the page or rectangular area.
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 IXC_ColorFlags which specifies how the data will be copied.
- pRect
- [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.