IPXC_Page::InsertNewAnnotFromDict Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 1: Line 1:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXC_Page::InsertNewAnnotFromDict Method}}
 
{{#customTitle:IPXC_Page::InsertNewAnnotFromDict Method}}
{{#parentPage:PXV:IPXC_Page|method}}
+
{{#parentPage:PXV:IPXC_Page|InsertNewAnnotFromDict Method|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT InsertNewAnnotFromDict([in] IPXS_PDFVariant* pAnnotDict, [in, defaultvalue(NULL)] PXC_Rect* pLocation, [in, defaultvalue(-1)] ULONG nPos, [out, retval, defaultvalue(NULL)] IPXC_Annotation** ppAnnot);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT InsertNewAnnotFromDict([in]                               IPXS_PDFVariant*   pAnnotDict,
 +
                              [in, defaultvalue(NULL)]           PXC_Rect*         pLocation,
 +
                              [in, defaultvalue(-1)]             ULONG             nPos,
 +
                              [out, retval, defaultvalue(NULL)] IPXC_Annotation** ppAnnot);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pAnnotDict''
+
;pAnnotDict
 
:[in]  Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]].
 
:[in]  Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]].
;''pLocation''
+
;pLocation
 
:[in, defaultvalue(NULL)]  Pointer to [[PXV:PXC_Rect|PXC_Rect]].
 
:[in, defaultvalue(NULL)]  Pointer to [[PXV:PXC_Rect|PXC_Rect]].
;''nPos''
+
;nPos
 
:[in, defaultvalue(-1)]  Value of ULONG.
 
:[in, defaultvalue(-1)]  Value of ULONG.
;''ppAnnot''
+
;ppAnnot
 
:[out, retval, defaultvalue(NULL)]  Pointer to [[PXV:IPXC_Annotation|IPXC_Annotation]].
 
:[out, retval, defaultvalue(NULL)]  Pointer to [[PXV:IPXC_Annotation|IPXC_Annotation]].
  

Revision as of 06:09, 23 April 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT InsertNewAnnotFromDict([in]                               IPXS_PDFVariant*   pAnnotDict,
                               [in, defaultvalue(NULL)]           PXC_Rect*          pLocation,
                               [in, defaultvalue(-1)]             ULONG              nPos,
                               [out, retval, defaultvalue(NULL)]  IPXC_Annotation**  ppAnnot);

Parameters

pAnnotDict
[in] Pointer to IPXS_PDFVariant.
pLocation
[in, defaultvalue(NULL)] Pointer to PXC_Rect.
nPos
[in, defaultvalue(-1)] Value of ULONG.
ppAnnot
[out, retval, defaultvalue(NULL)] Pointer to IPXC_Annotation.

Return Value

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

See Also

See also IPXC_Page.