IPXV_AttachList::InsertFrom Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
Line 7: Line 7:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT InsertFrom([in]                    IPXV_AttachList*  Src,
+
<pre class="brush:cpp;gutter:false">HRESULT InsertFrom([in]                    IPXV_AttachList*  pSrc,
                   [in, defaultvalue(0)]  ULONG            StartSrcIndex,
+
                   [in, defaultvalue(0)]  ULONG            nStartSrcIndex,
                   [in, defaultvalue(-1)]  ULONG            SrcItemsCount,
+
                   [in, defaultvalue(-1)]  ULONG            nSrcItemsCount,
                   [in, defaultvalue(-1)]  ULONG            DstIndex);</pre>
+
                   [in, defaultvalue(-1)]  ULONG            nDstIndex);</pre>
  
 
== Parameters ==
 
== Parameters ==
;Src
+
;pSrc
 
:[in]  Pointer to [[PXV:IPXV_AttachList|IPXV_AttachList]] containing the source attachments list.
 
:[in]  Pointer to [[PXV:IPXV_AttachList|IPXV_AttachList]] containing the source attachments list.
;StartSrcIndex
+
;nStartSrcIndex
 
:[in, defaultvalue(0)]  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.
;SrcItemsCount
+
;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.
;DstIndex
+
;nDstIndex
 
:[in, defaultvalue(-1)]  Index in the attachments list where the items from the source would be inserted.
 
:[in, defaultvalue(-1)]  Index in the attachments list where the items from the source would be inserted.
  

Latest revision as of 03:47, 15 June 2015

Inserts items from the given attachments list.

Syntax

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

Parameters

pSrc
[in] Pointer to IPXV_AttachList containing the source attachments 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 attachments list where the items from the source would be inserted.

Return Value

Returns S_OK if the operation was successful, or will return an error code if it fails.

See Also

IPXV_AttachList