IWords::Insert Method

From PDF XChange PDF SDK
Revision as of 16:11, 16 June 2015 by Johnv (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Inserts item into words list.

Syntax

HRESULT Insert([in]                    BSTR   sItem,
               [in, defaultvalue(-1)]  ULONG  nIndex);

Parameters

sItem
[in] Item that would be inserted into the words list.
nIndex
[in, defaultvalue(-1)] The index in the words list where the item 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