IPXS_PDFVariant::Clone Method

From PDF XChange PDF SDK
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.

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