AdoptIndent

Method of IDocument

Adopts indentation of selected range to fit desired level

Return Value

JavaScript

var ppResult = Document.AdoptIndent(pRange);

Visual Basic Script

ppResult = Document.AdoptIndent pRange

C++

CComPtr<IRange> pResult;
HRESULT hr = Document.AdoptIndent(pRange, &pResult);