IPXS_PDFVariant::CopyFrom Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXS_PDFVariant::CopyFrom Method}}
 
{{#customTitle:IPXS_PDFVariant::CopyFrom Method}}
{{#parentPage:PXV:IPXS_PDFVariant|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* pSrc);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT CopyFrom([in] IPXS_PDFVariant* pSrc);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pSrc''
+
;pSrc
:[in]  Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]].
+
:[in]  Pointer to source [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]].
  
 
== Return Value ==
 
== Return Value ==
Line 18: Line 18:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]].
+
[[PXV:IPXS_PDFVariant|IPXS_PDFVariant]]

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