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. ====== GetLine ====== Method of [[:scripting:api:text-document:start|ITextDocument]] ===== Description ===== Returns copy of document line chars ===== Parameters ===== * [[scripting:api:data-type:long|long]] **nLine** ==== Return Value ==== * [[scripting:api:data-type:BSTR|BSTR]] **strChars** ===== Syntax ===== ==== JavaScript ==== <code javascript> var strChars = TextDocument.GetLine(nLine); </code>==== Visual Basic Script ==== <code vb> strChars = TextDocument.GetLine nLine </code>==== C++ ==== <code cpp> BSTR strChars; HRESULT hr = TextDocument.GetLine(nLine, &strChars); </code>===== See Also ===== [[:scripting:api:text-document:start|ITextDocument]] ~~NOTOC~~