IIXC_Page::Clone Method
From PDF XChange PDF SDK
(Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(13 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IIXC_Page::Clone Method}} | {{#customTitle:IIXC_Page::Clone Method}} | ||
+ | {{#parentPage:PXV:IIXC_Page#Methods|Clone|method}} | ||
− | The method of | + | The '''pClone''' method creates an exact copy of a whole page or a specified rectangular area of the page. |
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT Clone([in, | + | <pre class="brush:cpp;gutter:false">HRESULT Clone([in, defaultvalue(NULL)] RECT* stRect, |
+ | [out, retval] IIXC_Page** pClone);</pre> | ||
== Parameters == | == Parameters == | ||
− | ; | + | ;stRect |
− | :[in, | + | :[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. |
− | ; | + | ;pClone |
− | :[out, retval] Pointer to [[PXV:IIXC_Page|IIXC_Page]]. | + | :[out, retval] Pointer to the variable where the [[PXV:IIXC_Page|IIXC_Page]] pointer of the cloned page will be stored. |
== Return Value == | == Return Value == | ||
Line 17: | Line 20: | ||
== See Also == | == See Also == | ||
− | + | [[PXV:IIXC_Page|IIXC_Page]] |
Latest revision as of 04:08, 15 June 2015
The pClone method creates an exact copy of a whole page or a specified rectangular area of the page.
Syntax
HRESULT Clone([in, defaultvalue(NULL)] RECT* stRect, [out, retval] IIXC_Page** pClone);
Parameters
- stRect
- [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.
- pClone
- [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.