IPXV_AnnotsList::Insert Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(9 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IPXV_AnnotsList::Insert Method}} | {{#customTitle:IPXV_AnnotsList::Insert Method}} | ||
+ | {{#parentPage:PXV:IPXV_AnnotsList#Methods|Insert|method}} | ||
− | + | Inserts item into annotations list. | |
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT Insert([in] IPXC_Annotation* pItem, [in, defaultvalue(-1)] ULONG nIndex);</pre> | + | <pre class="brush:cpp;gutter:false">HRESULT Insert([in] IPXC_Annotation* pItem, |
+ | [in, defaultvalue(-1)] ULONG nIndex);</pre> | ||
== Parameters == | == Parameters == | ||
− | ; | + | ;pItem |
− | :[in] Pointer to [[PXV:IPXC_Annotation|IPXC_Annotation]]. | + | :[in] Pointer to [[PXV:IPXC_Annotation|IPXC_Annotation]] containing the annotation that would be inserted into the annotations list. |
− | ; | + | ;nIndex |
− | :[in, defaultvalue(-1)] | + | :[in, defaultvalue(-1)] The index in the annotations list where the annotation would be inserted. |
== Return Value == | == Return Value == | ||
− | Returns S_OK if operation was successful or error code | + | Returns S_OK if the operation was successful, or will return an error code if it fails. |
== See Also == | == See Also == | ||
− | + | [[PXV:IPXV_AnnotsList|IPXV_AnnotsList]] |
Latest revision as of 02:46, 15 June 2015
Inserts item into annotations list.
Syntax
HRESULT Insert([in] IPXC_Annotation* pItem, [in, defaultvalue(-1)] ULONG nIndex);
Parameters
- pItem
- [in] Pointer to IPXC_Annotation containing the annotation that would be inserted into the annotations list.
- nIndex
- [in, defaultvalue(-1)] The index in the annotations list where the annotation would be inserted.
Return Value
Returns S_OK if the operation was successful, or will return an error code if it fails.