IIXC_Page::Tile 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 Tile([in] RECT* | + | <pre class="brush:cpp;gutter:false">HRESULT Tile([in] RECT* destRect, |
− | [in] IIXC_Page* | + | [in] IIXC_Page* srcPage, |
− | [in] RECT* | + | [in] RECT* srcRect, |
− | [in] LONG | + | [in] LONG originX, |
− | [in] LONG | + | [in] LONG originY, |
− | [in] ULONG | + | [in] ULONG Flags);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;destRect |
− | :[in] Pointer to a ''RECT'' structure which defines the destination rectangle on the target page which will be filled from the ''' | + | :[in] Pointer to a ''RECT'' structure which defines the destination rectangle on the target page which will be filled from the '''srcPage''' page. |
− | ; | + | ;srcPage |
:[in] Pointer to [[PXV:IIXC_Page|IIXC_Page]] of the source page from which the area is to be copied. | :[in] Pointer to [[PXV:IIXC_Page|IIXC_Page]] of the source page from which the area is to be copied. | ||
− | ; | + | ;srcRect |
− | :[in] Pointer to a ''RECT'' structure which defines the rectangle from the ''' | + | :[in] Pointer to a ''RECT'' structure which defines the rectangle from the '''srcPage''' page which should be tiled onto the target page. |
− | ; | + | ;originX |
:[in] Specifies the x-coordinate, in pixels, of the upper-left corner of the source rectangle which will be used for tiling. | :[in] Specifies the x-coordinate, in pixels, of the upper-left corner of the source rectangle which will be used for tiling. | ||
− | ; | + | ;originY |
:[in] Specifies the y-coordinate, in pixels, of the upper-left corner of the source rectangle which will be used for tiling. | :[in] Specifies the y-coordinate, in pixels, of the upper-left corner of the source rectangle which will be used for tiling. | ||
− | ; | + | ;Flags |
:[in] Combination of flags which specifies how the data will be copied. For more details about this parameter, see enum [[PXV:IXC_ColorFlags|IXC_ColorFlags]]. | :[in] Combination of flags which specifies how the data will be copied. For more details about this parameter, see enum [[PXV:IXC_ColorFlags|IXC_ColorFlags]]. | ||
Revision as of 05:51, 12 June 2015
Tile fills a rectangular area on the destination page from another source page by "tiling" the source area into the destination area.
Syntax
HRESULT Tile([in] RECT* destRect, [in] IIXC_Page* srcPage, [in] RECT* srcRect, [in] LONG originX, [in] LONG originY, [in] ULONG Flags);
Parameters
- destRect
- [in] Pointer to a RECT structure which defines the destination rectangle on the target page which will be filled from the srcPage page.
- srcPage
- [in] Pointer to IIXC_Page of the source page from which the area is to be copied.
- srcRect
- [in] Pointer to a RECT structure which defines the rectangle from the srcPage page which should be tiled onto the target page.
- originX
- [in] Specifies the x-coordinate, in pixels, of the upper-left corner of the source rectangle which will be used for tiling.
- originY
- [in] Specifies the y-coordinate, in pixels, of the upper-left corner of the source rectangle which will be used for tiling.
- Flags
- [in] Combination of flags which specifies how the data will be copied. For more details about this parameter, see enum IXC_ColorFlags.
Return Value
Returns S_OK if operation was successful or error code in other cases.
Remarks
"Tiling" consists of copying the same source rectangle over and over into the destination area filling it both horizontally and vertically.