scripting:api:text-document:insert-text-block

InsertTextBlock

Method of ITextDocument

Inserts text in specific position in Block Mode

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