IIXC_Page::CopyChannel Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
Line 7: | Line 7: | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT CopyChannel([in] IXC_Channel | + | <pre class="brush:cpp;gutter:false">HRESULT CopyChannel([in] IXC_Channel dstChannel, |
− | [in] IIXC_Page* | + | [in] IIXC_Page* srcFrom, |
− | [in] IXC_Channel | + | [in] IXC_Channel srcChannel, |
− | [in] RECT* | + | [in] RECT* Rect, |
− | [in] LONG | + | [in] LONG SX, |
− | [in] LONG | + | [in] LONG SY);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;dstChannel |
:[in] Specifies the [[PXV:IXC_Channel|Color Channel]] of the page into which data will be copied. | :[in] Specifies the [[PXV:IXC_Channel|Color Channel]] of the page into which data will be copied. | ||
− | ; | + | ;srcFrom |
:[in] Specifies the source [[PXV:IIXC_Page|IIXC_Page]] from which data will be copied. | :[in] Specifies the source [[PXV:IIXC_Page|IIXC_Page]] from which data will be copied. | ||
− | ; | + | ;srcChannel |
− | :[in] Specifies the [[PXV:IXC_Channel|color channel]] of the ''' | + | :[in] Specifies the [[PXV:IXC_Channel|color channel]] of the '''srcFrom''' from which data will copied. |
− | ; | + | ;Rect |
:[in] Pointer to RECT which defines the rectangular area on the page where date should be copied. If this parameter is <tt>NULL</tt>, entire page will be used. | :[in] Pointer to RECT which defines the rectangular area on the page where date should be copied. If this parameter is <tt>NULL</tt>, entire page will be used. | ||
− | ; | + | ;SX |
:[in] Specifies the x-coordinate, in pixels, on the upper-left corner of the source rectangle. | :[in] Specifies the x-coordinate, in pixels, on the upper-left corner of the source rectangle. | ||
− | ; | + | ;SY |
:[in] Specifies the y-coordinate, in pixels, of the upper-left corner of the source rectangle. | :[in] Specifies the y-coordinate, in pixels, of the upper-left corner of the source rectangle. | ||
Revision as of 05:50, 12 June 2015
The CopyChannel method copies specified color channel information from one page to another.
Syntax
HRESULT CopyChannel([in] IXC_Channel dstChannel, [in] IIXC_Page* srcFrom, [in] IXC_Channel srcChannel, [in] RECT* Rect, [in] LONG SX, [in] LONG SY);
Parameters
- dstChannel
- [in] Specifies the Color Channel of the page into which data will be copied.
- srcFrom
- [in] Specifies the source IIXC_Page from which data will be copied.
- srcChannel
- [in] Specifies the color channel of the srcFrom from which data will copied.
- Rect
- [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.
- SX
- [in] Specifies the x-coordinate, in pixels, on the upper-left corner of the source rectangle.
- SY
- [in] Specifies the y-coordinate, in pixels, of the upper-left corner of the source rectangle.
Return Value
Returns S_OK if operation was successful or error code in other cases.