IIXC_Page::Clone 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 Clone([in, defaultvalue(NULL)] RECT* | + | <pre class="brush:cpp;gutter:false">HRESULT Clone([in, defaultvalue(NULL)] RECT* Rect, |
− | [out, retval] IIXC_Page** | + | [out, retval] IIXC_Page** Clone);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;Rect |
:[in, defaultvalue(NULL)] Pointer to RECT structure which defines the rectangular area of the page page which will be cloned. If this parameter is NULL, the entire page will be cloned. | :[in, defaultvalue(NULL)] Pointer to RECT structure which defines the rectangular area of the page page which will be cloned. If this parameter is NULL, the entire page will be cloned. | ||
− | ; | + | ;Clone |
:[out, retval] Pointer to the variable where the [[PXV:IIXC_Page|IIXC_Page]] pointer of the cloned page will be stored. | :[out, retval] Pointer to the variable where the [[PXV:IIXC_Page|IIXC_Page]] pointer of the cloned page will be stored. | ||
Revision as of 05:50, 12 June 2015
The Clone method creates an exact copy of a whole page or a specified rectangular area of the page.
Syntax
HRESULT Clone([in, defaultvalue(NULL)] RECT* Rect, [out, retval] IIXC_Page** Clone);
Parameters
- Rect
- [in, defaultvalue(NULL)] Pointer to RECT structure which defines the rectangular area of the page page which will be cloned. If this parameter is NULL, the entire page will be cloned.
- Clone
- [out, retval] Pointer to the variable where the IIXC_Page pointer of the cloned page will be stored.
Return Value
Returns S_OK if operation was successful or error code in other cases.