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. ====== Size ====== Property of [[:scripting:api:text-document:start|ITextDocument]] ===== Description ===== Return document size in characters ===== Property type ===== Read-Only Property of type **[[scripting:api:data-type:long|long]]** ===== Syntax ===== ==== JavaScript ==== <code javascript> var nVal = TextDocument.Size; </code>==== Visual Basic Script ==== <code vb> nVal = TextDocument.Size </code>==== C++ ==== <code cpp> long nVal; HRESULT hr = TextDocument.get_Size(&nVal); </code>===== See Also ===== [[:scripting:api:text-document:start|ITextDocument]] ~~NOTOC~~