IPXS_PDFVariant::Clone Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(2 intermediate revisions by one other user not shown) | |||
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}} | ||
− | |||
{{ToReview}} | {{ToReview}} | ||
− | + | 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 == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT Clone([out, retval] IPXS_PDFVariant** | + | <pre class="brush:cpp;gutter:false">HRESULT Clone([out, retval] IPXS_PDFVariant** pClone);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;pClone |
− | :[out, retval] | + | :[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.