IPXC_AnnotHandler::CopyAnnot Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
m (Automatic page editing by robot)
Line 5: Line 5:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT CopyAnnot([in] IPXC_Annotation* pAnnot, [in, optional] IPXC_Document* pDestDoc, [in, optional] IPXC_RemapCallback* pRemap, [out, retval] IPXS_PDFVariant** ppCopyAnnotDict);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT CopyAnnot([in] IPXC_Annotation* pAnnot, [in, defaultvalue(NULL)] IPXC_Document* pDestDoc, [in, defaultvalue(NULL)] IPXC_RemapCallback* pRemap, [out, retval] IPXS_PDFVariant** ppCopyAnnotDict);</pre>
  
 
== Parameters ==
 
== Parameters ==
Line 11: Line 11:
 
:[in]  Pointer to [[PXV:IPXC_Annotation|IPXC_Annotation]].
 
:[in]  Pointer to [[PXV:IPXC_Annotation|IPXC_Annotation]].
 
;''pDestDoc''
 
;''pDestDoc''
:[in, optional]  Pointer to [[PXV:IPXC_Document|IPXC_Document]].
+
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IPXC_Document|IPXC_Document]].
 
;''pRemap''
 
;''pRemap''
:[in, optional]  Pointer to [[PXV:IPXC_RemapCallback|IPXC_RemapCallback]].
+
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IPXC_RemapCallback|IPXC_RemapCallback]].
 
;''ppCopyAnnotDict''
 
;''ppCopyAnnotDict''
 
:[out, retval]  Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]].
 
:[out, retval]  Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]].

Revision as of 14:03, 16 April 2015

The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT CopyAnnot([in] IPXC_Annotation* pAnnot, [in, defaultvalue(NULL)] IPXC_Document* pDestDoc, [in, defaultvalue(NULL)] IPXC_RemapCallback* pRemap, [out, retval] IPXS_PDFVariant** ppCopyAnnotDict);

Parameters

pAnnot
[in] Pointer to IPXC_Annotation.
pDestDoc
[in, defaultvalue(NULL)] Pointer to IPXC_Document.
pRemap
[in, defaultvalue(NULL)] Pointer to IPXC_RemapCallback.
ppCopyAnnotDict
[out, retval] Pointer to IPXS_PDFVariant.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

See also IPXC_AnnotHandler.