Method of ITextDocument
Adopts indentation of selected range to fit desired level
var ppResult = TextDocument.AdoptIndent(pRange);
==== Visual Basic Script ====
ppResult = TextDocument.AdoptIndent pRange
==== C++ ====
CComPtr<IRange> pResult; HRESULT hr = TextDocument.AdoptIndent(pRange, &pResult);
===== See Also ===== ITextDocument