AdoptIndent

Method of ITextDocument

Description

Adopts indentation of selected range to fit desired level

Parameters

Return Value

Syntax

JavaScript

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