IPXS_PDFVariant::Clone Method

From PDF XChange PDF SDK
Revision as of 08:21, 21 August 2015 by Lzcat (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.


HRESULT Clone([out, retval]  IPXS_PDFVariant**  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