IPXC_Page::InsertNewAnnot Method
From PDF XChange PDF SDK
(Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
Line 5: | Line 5: | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT InsertNewAnnot([in] ULONG nAnnotType, [in] PXC_Rect* pLocation, [in, | + | <pre class="brush:cpp;gutter:false">HRESULT InsertNewAnnot([in] ULONG nAnnotType, [in] PXC_Rect* pLocation, [in, defaultvalue(-1)] ULONG nPos, [out, retval, defaultvalue(NULL)] IPXC_Annotation** ppAnnot);</pre> |
== Parameters == | == Parameters == | ||
Line 13: | Line 13: | ||
:[in] Pointer to [[PXV:PXC_Rect|PXC_Rect]]. | :[in] Pointer to [[PXV:PXC_Rect|PXC_Rect]]. | ||
;''nPos'' | ;''nPos'' | ||
− | :[in, | + | :[in, defaultvalue(-1)] Value of ULONG. |
;''ppAnnot'' | ;''ppAnnot'' | ||
− | :[out, retval, | + | :[out, retval, defaultvalue(NULL)] Pointer to [[PXV:IPXC_Annotation|IPXC_Annotation]]. |
== Return Value == | == Return Value == |
Revision as of 22:57, 16 April 2015
The method of interface of PDF-XChange Editor SDK.
Contents
Syntax
HRESULT InsertNewAnnot([in] ULONG nAnnotType, [in] PXC_Rect* pLocation, [in, defaultvalue(-1)] ULONG nPos, [out, retval, defaultvalue(NULL)] IPXC_Annotation** ppAnnot);
Parameters
- nAnnotType
- [in] Value of ULONG.
- pLocation
- [in] 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.