IPXV_BookmList::InsertFrom Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 5: Line 5:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT InsertFrom([in] IPXV_BookmList* pSrc, [in, optional] ULONG nStartSrcIndex, [in, defaultvalue(-1)] ULONG nSrcItemsCount, [in, defaultvalue(-1)] ULONG nDstIndex);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT InsertFrom([in] IPXV_BookmList* pSrc, [in, defaultvalue(0)] ULONG nStartSrcIndex, [in, defaultvalue(-1)] ULONG nSrcItemsCount, [in, defaultvalue(-1)] ULONG nDstIndex);</pre>
  
 
== Parameters ==
 
== Parameters ==
Line 11: Line 11:
 
:[in]  Pointer to [[PXV:IPXV_BookmList|IPXV_BookmList]] containing the source bookmarks list.
 
:[in]  Pointer to [[PXV:IPXV_BookmList|IPXV_BookmList]] containing the source bookmarks list.
 
;''nStartSrcIndex''
 
;''nStartSrcIndex''
:[in, optional]  Start index in the source array of the items to copy.
+
:[in, defaultvalue(0)]  Start index in the source array of the items to copy.
 
;''nSrcItemsCount''
 
;''nSrcItemsCount''
 
:[in, defaultvalue(-1)]  Number of the items to copy from the source array starting from the start index.
 
:[in, defaultvalue(-1)]  Number of the items to copy from the source array starting from the start index.

Revision as of 00:36, 17 April 2015

Inserts items from the given bookmarks list.

Syntax

HRESULT InsertFrom([in] IPXV_BookmList* pSrc, [in, defaultvalue(0)] ULONG nStartSrcIndex, [in, defaultvalue(-1)] ULONG nSrcItemsCount, [in, defaultvalue(-1)] ULONG nDstIndex);

Parameters

pSrc
[in] Pointer to IPXV_BookmList containing the source bookmarks list.
nStartSrcIndex
[in, defaultvalue(0)] Start index in the source array of the items to copy.
nSrcItemsCount
[in, defaultvalue(-1)] Number of the items to copy from the source array starting from the start index.
nDstIndex
[in, defaultvalue(-1)] Index in the bookmarks list where the items from the source would be inserted.

Return Value

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

See Also

See also IPXV_BookmList.