Inserts new text into the document.
HRESULT InsertText( ULONG cCharacterPosition, ULONG cNumToInsert, OLECHAR pcharText[] );
- cCharacterPosition
[in] Location to insert text.
- cNumToInsert
[in] Number of characters to insert.
- pcharText[]
[in] A buffer containing the characters to insert.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Value | Description |
---|---|
S_OK | The method succeeded. |
This method inserts new text into the document.