IIXC_Page::CopyChannel Method
From PDF XChange PDF SDK
(→See Also) |
|||
Line 37: | Line 37: | ||
:[[PXV:IIXC_Page_InvertChannel|IIXC_Page::InvertChannel]] | :[[PXV:IIXC_Page_InvertChannel|IIXC_Page::InvertChannel]] | ||
:[[PXV:IIXC_Page_SetChannelPixel|IIXC_Page::SetChannelPixel]] | :[[PXV:IIXC_Page_SetChannelPixel|IIXC_Page::SetChannelPixel]] | ||
+ | :[[PXV:IIXC_Page_Place|IIXC_Page::Place]] | ||
:[[PXV:IXC_Channel|IXC_Channel]] | :[[PXV:IXC_Channel|IXC_Channel]] |
Revision as of 05:40, 18 May 2015
The method copies specified color channel information from one page to another.
Contents
Syntax
HRESULT CopyChannel([in] IXC_Channel dstChannel, [in] IIXC_Page* srcFrom, [in] IXC_Channel srcChannel, [in] RECT* pRect, [in] LONG nSX, [in] LONG nSY);
Parameters
- dstChannel
- [in] Specifies channel of the destPage into which data will be copied.
- srcFrom
- [in] Pointer to IIXC_Page of the source page.
- srcChannel
- [in] Specifies the channel of the pageFrom from which data will copied.
- pRect
- [in] Pointer to RECT structure which defines the rectangular area of the page into which data will be copied. If this parameter is NULL, entire page will be used.
- nSX
- [in] Specifies the x-coordinate, in pixels, of the upper-left corner of the destination rectangle.
- nSY
- [in] Specifies the y-coordinate, in pixels, of the upper-left corner of the destination rectangle.
Return Value
Returns S_OK if operation was successful or error code in other cases.