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. ====== GetDesiredLineIndent ====== Method of [[:scripting:api:text-document:start|ITextDocument]] ===== Description ===== Returns desired line indent ===== Parameters ===== * [[:scripting:api:position:start|IPosition]] **pPos** * [[scripting:api:data-type:VARIANT_BOOL|VARIANT_BOOL]] **bByScope** = VARIANT_FALSE (optional) ==== Return Value ==== * [[scripting:api:data-type:long|long]] **pnValue** ===== Syntax ===== ==== JavaScript ==== <code javascript> var pnValue = TextDocument.GetDesiredLineIndent(pPos, bByScope); </code>==== Visual Basic Script ==== <code vb> pnValue = TextDocument.GetDesiredLineIndent pPos, bByScope </code>==== C++ ==== <code cpp> long nValue; HRESULT hr = TextDocument.GetDesiredLineIndent(pPos, bByScope, &nValue); </code>===== See Also ===== [[:scripting:api:text-document:start|ITextDocument]] ~~NOTOC~~