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. ====== DeleteText ====== Method of [[:scripting:api:text-document:start|ITextDocument]] ===== Description ===== Deletes text from specific range ===== Parameters ===== * [[:scripting:api:range:overview|IRange]] **pRange** * [[scripting:api:data-type:UINT|UINT]] **nAction** = 0 (optional) ===== Syntax ===== ==== JavaScript ==== <code javascript> TextDocument.DeleteText(pRange, nAction); </code>==== Visual Basic Script ==== <code vb> TextDocument.DeleteText pRange, nAction </code>==== C++ ==== <code cpp> HRESULT hr = TextDocument.DeleteText(pRange, nAction); </code>===== See Also ===== [[:scripting:api:text-document:start|ITextDocument]] ~~NOTOC~~