From Tracker Software PDF SDK
Revision as of 01:19, 6 May 2015 by Oliynykd
The method replaces one color with another on the page.
HRESULT ReplaceColor([in] ULONG fromColor, [in] ULONG toColor, ULONG nFlags, [in, defaultvalue(NULL)] RECT* pRect);
- [in] Specifies the color to be replaced.
- [in] Specifies replacement color.
- Combination of flags which specifies how the data will be copied. The following flags can be used enum IXC_ColorFlags
- [in, defaultvalue(NULL)] Pointer to RECT structure which defines the rectangular area in which the operation will be performed.
Returns S_OK if operation was successful or error code in other cases.