====== writeln ====== Method of [[:scripting:api:text-document:start|ITextDocument]] ===== Description ===== Inserts or overwrites a string and a new line at the current cursor position ===== Parameters ===== * [[scripting:api:data-type:BSTR|BSTR]] **strText** ===== Syntax ===== ==== JavaScript ==== TextDocument.writeln(strText); ==== Visual Basic Script ==== TextDocument.writeln strText ==== C++ ==== HRESULT hr = TextDocument.writeln(strText); ===== See Also ===== [[:scripting:api:text-document:start|ITextDocument]] ~~NOTOC~~