IPXS_PDFVariant::Clone Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
Line 3: Line 3:
 
{{#customTitle:IPXS_PDFVariant::Clone Method}}
 
{{#customTitle:IPXS_PDFVariant::Clone Method}}
 
{{#parentPage:PXV:IPXS_PDFVariant#Methods|Clone|method}}
 
{{#parentPage:PXV:IPXS_PDFVariant#Methods|Clone|method}}
{{ToWrite}}
 
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
This method create and return clone of current variant. If current variant is indirect no clone is created <code>pClone</code> will receive pointer to current variant. To clone indirect variant content to another one please use [[PXV:IPXS_PDFVariant_CopyFrom|CopyFrom]] function.
  
 
== Syntax ==
 
== Syntax ==
Line 13: Line 12:
 
== Parameters ==
 
== Parameters ==
 
;pClone
 
;pClone
:[out, retval] Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]].
+
:[out, retval] Pointer to the variable where the [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]] pointer of the cloned variant will be stored.
 
+
 
== Return Value ==
 
== Return Value ==
 
Returns S_OK if operation was successful or error code in other cases.
 
Returns S_OK if operation was successful or error code in other cases.

Latest revision as of 07:21, 21 August 2015


This method create and return clone of current variant. If current variant is indirect no clone is created pClone will receive pointer to current variant. To clone indirect variant content to another one please use CopyFrom function.

Syntax

HRESULT Clone([out, retval]  IPXS_PDFVariant**  pClone);

Parameters

pClone
[out, retval] Pointer to the variable where the IPXS_PDFVariant pointer of the cloned variant will be stored.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IPXS_PDFVariant