IPXS_PDFVariant::CopyFrom Method

From PDF XChange PDF SDK
Jump to: navigation, search
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}}
{{ToWrite}}
 
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
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*  Src);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT CopyFrom([in]  IPXS_PDFVariant*  pSrc);</pre>
  
 
== Parameters ==
 
== Parameters ==
;Src
+
;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.

See Also

IPXS_PDFVariant