IPXS_PDFVariant::CopyFrom Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
{{#customTitle:IPXS_PDFVariant::CopyFrom Method}} | {{#customTitle:IPXS_PDFVariant::CopyFrom Method}} | ||
{{#parentPage:PXV:IPXS_PDFVariant#Methods|CopyFrom|method}} | {{#parentPage:PXV:IPXS_PDFVariant#Methods|CopyFrom|method}} | ||
− | |||
{{ToReview}} | {{ToReview}} | ||
− | + | Replace current variant value with copy of source variant. If source variant has type <code>PVT_Stream</code> function fails. | |
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT CopyFrom([in] IPXS_PDFVariant* | + | <pre class="brush:cpp;gutter:false">HRESULT CopyFrom([in] IPXS_PDFVariant* pSrc);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;pSrc |
− | :[in] Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]]. | + | :[in] Pointer to source [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]]. |
== Return Value == | == Return Value == |
Latest revision as of 07:21, 23 March 2016
Replace current variant value with copy of source variant. If source variant has type PVT_Stream
function fails.
Syntax
HRESULT CopyFrom([in] IPXS_PDFVariant* pSrc);
Parameters
- pSrc
- [in] Pointer to source IPXS_PDFVariant.
Return Value
Returns S_OK if operation was successful or error code in other cases.