====== 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 ==== var pnValue = TextDocument.GetDesiredLineIndent(pPos, bByScope); ==== Visual Basic Script ==== pnValue = TextDocument.GetDesiredLineIndent pPos, bByScope ==== C++ ==== long nValue; HRESULT hr = TextDocument.GetDesiredLineIndent(pPos, bByScope, &nValue); ===== See Also ===== [[:scripting:api:text-document:start|ITextDocument]] ~~NOTOC~~