From Tracker Software PDF SDK
Revision as of 15:50, 18 May 2015 by Socrat
The CopyChannel method copies specified color channel information from one page to another.
HRESULT CopyChannel([in] IXC_Channel dstChannel, [in] IIXC_Page* srcFrom, [in] IXC_Channel srcChannel, [in] RECT* pRect, [in] LONG nSX, [in] LONG nSY);
- [in] Specifies the Color Channel of the page into which data will be copied.
- [in] Specifies the source page from which data will be copied.
- [in] Specifies the color channel of the srcFrom from which data will copied.
- [in] Pointer to RECT which defines the rectangular area on the page where date should be copied. If this parameter is NULL, entire page will be used.
- [in] Specifies the x-coordinate, in pixels, on the upper-left corner of the source rectangle.
- [in] Specifies the y-coordinate, in pixels, of the upper-left corner of the source rectangle.
Returns S_OK if operation was successful or error code in other cases.