IIXC_Page::Clone Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 4: Line 4:
 
{{#parentPage:PXV:IIXC_Page#Methods|Clone|method}}
 
{{#parentPage:PXV:IIXC_Page#Methods|Clone|method}}
  
The '''Clone''' method creates an exact copy of a whole page or a specified rectangular area of the page.
+
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, defaultvalue(NULL)]  RECT*        Rect,
+
<pre class="brush:cpp;gutter:false">HRESULT pClone([in, defaultvalue(NULL)]  RECT*        stRect,
               [out, retval]            IIXC_Page**  Clone);</pre>
+
               [out, retval]            IIXC_Page**  pClone);</pre>
  
 
== Parameters ==
 
== Parameters ==
;Rect
+
;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.
 
:[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
+
;pClone
 
:[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 02:16, 15 June 2015

The pClone method creates an exact copy of a whole page or a specified rectangular area of the page.

Syntax

HRESULT pClone([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.

See Also

IIXC_Page