Show pageOld revisionsBacklinksAdd to bookBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== AdoptIndent ====== Method of [[:scripting:api:text-document:start|ITextDocument]] ===== Description ===== Adopts indentation of selected range to fit desired level ===== Parameters ===== * [[:scripting:api:range:overview|IRange]] **pRange** ==== Return Value ==== * [[:scripting:api:range:overview|IRange]] **ppResult** ===== Syntax ===== ==== JavaScript ==== <code javascript> var ppResult = TextDocument.AdoptIndent(pRange); </code>==== Visual Basic Script ==== <code vb> ppResult = TextDocument.AdoptIndent pRange </code>==== C++ ==== <code cpp> CComPtr<IRange> pResult; HRESULT hr = TextDocument.AdoptIndent(pRange, &pResult); </code>===== See Also ===== [[:scripting:api:text-document:start|ITextDocument]] ~~NOTOC~~