Method of ITextView
Insert template in specific position
var pptEnd = TextView.InsertTemplate(rgSelection, strText, nAction, bNoIndent);
==== Visual Basic Script ====
pptEnd = TextView.InsertTemplate rgSelection, strText, nAction, bNoIndent
==== C++ ====
CComPtr<IPosition> pptEnd; HRESULT hr = TextView.InsertTemplate(rgSelection, strText, nAction, bNoIndent, &ptEnd);
===== See Also ===== ITextView