IIXC_Page::Place 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 Place([in] RECT* | + | <pre class="brush:cpp;gutter:false">HRESULT Place([in] RECT* Rect, |
− | [in] IIXC_Page* | + | [in] IIXC_Page* srcPage, |
− | [in] LONG | + | [in] LONG SX, |
− | [in] LONG | + | [in] LONG SY, |
− | [in] ULONG | + | [in] ULONG Flags);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;Rect |
:[in] Pointer to RECT structure which defines the destination rectangle. | :[in] Pointer to RECT structure which defines the destination rectangle. | ||
− | ; | + | ;srcPage |
:[in] Pointer to [[PXV:IIXC_Page|IIXC_Page]] of the destination page on which the copy will be placed. | :[in] Pointer to [[PXV:IIXC_Page|IIXC_Page]] of the destination page on which the copy will be placed. | ||
− | ; | + | ;SX |
:[in] Specifies the x-coordinate, in pixels, of the upper-left corner of the source rectangle. | :[in] Specifies the x-coordinate, in pixels, of 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. | ||
− | ; | + | ;Flags |
:[in] Combination of flags which specifies how the data will be copied. The following flags can be used enum [[PXV:IXC_ColorFlags|IXC_ColorFlags]]. | :[in] Combination of flags which specifies how the data will be copied. The following flags can be used enum [[PXV:IXC_ColorFlags|IXC_ColorFlags]]. | ||
Revision as of 05:51, 12 June 2015
Place copies a specified rectangular area from one page into another.
Syntax
HRESULT Place([in] RECT* Rect, [in] IIXC_Page* srcPage, [in] LONG SX, [in] LONG SY, [in] ULONG Flags);
Parameters
- Rect
- [in] Pointer to RECT structure which defines the destination rectangle.
- srcPage
- [in] Pointer to IIXC_Page of the destination page on which the copy will be placed.
- SX
- [in] Specifies the x-coordinate, in pixels, of 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.
- Flags
- [in] Combination of flags which specifies how the data will be copied. The following flags can be used enum IXC_ColorFlags.
Return Value
Returns S_OK if operation was successful or error code in other cases.