InsertTextBlock

Method of IDocument

Inserts text in specific position in Block Mode

Return Value

JavaScript

var ptEnd = Document.InsertTextBlock(ptStart, strChars, nAction);

Visual Basic Script

ptEnd = Document.InsertTextBlock ptStart, strChars, nAction

C++

CComPtr<IPosition> ptEnd;
HRESULT hr = Document.InsertTextBlock(ptStart, strChars, nAction, &tEnd);