IWords::InsertFrom Method

From Tracker Software PDF SDK
Jump to: navigation, search


Inserts items from the given words list.

Syntax

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

Parameters

pSrc
[in] Pointer to IWords containing the source words 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 words 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

IWords