IWords::InsertFrom Method

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

Revision as of 08:00, 12 June 2015


Inserts items from the given words list.

Syntax

HRESULT InsertFrom([in]                    IWords*  Src,
                   [in, defaultvalue(0)]   ULONG    StartSrcIndex,
                   [in, defaultvalue(-1)]  ULONG    SrcItemsCount,
                   [in, defaultvalue(-1)]  ULONG    DstIndex);

Parameters

Src
[in] Pointer to IWords containing the source words list.
StartSrcIndex
[in, defaultvalue(0)] Start index in the source array of the items to copy.
SrcItemsCount
[in, defaultvalue(-1)] Number of the items to copy from the source array starting from the start index.
DstIndex
[in, defaultvalue(-1)] Index in the words 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

IWords