InsertTemplate
Method of ITextView
Description
Insert template in specific position
Parameters
- IRange rgSelection
- BSTR strText
- UINT nAction
- VARIANT_BOOL bNoIndent = VARIANT_FALSE (optional)
Return Value
- IPosition pptEnd
Syntax
JavaScript
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