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. ====== Title ====== Property of [[:scripting:api:base-document:start|IBaseDocument]] ===== Description ===== Title of the document ===== Property type ===== Read-Write Property of type **[[scripting:api:data-type:BSTR|BSTR]]** ===== Syntax ===== ==== JavaScript ==== <code javascript> var pstrVal = BaseDocument.Title; BaseDocument.Title = pstrVal; </code>==== Visual Basic Script ==== <code vb> pstrVal = BaseDocument.Title BaseDocument.Title = pstrVal </code>==== C++ ==== <code cpp> BSTR pstrVal; HRESULT hr = BaseDocument.get_Title(&pstrVal); hr = BaseDocument.put_Title(pstrVal); </code>===== See Also ===== [[:scripting:api:base-document:start|IBaseDocument]] ~~NOTOC~~