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. ====== Document ====== Property of [[:scripting:api:base-view:start|IBaseView]] ===== Description ===== Document associated with view ===== Property type ===== Read-Only Property of type **[[:scripting:api:base-document:start|IBaseDocument]]** ===== Syntax ===== ==== JavaScript ==== <code javascript> var pDocument = BaseView.Document; </code>==== Visual Basic Script ==== <code vb> pDocument = BaseView.Document </code>==== C++ ==== <code cpp> CComPtr<IBaseDocument> pDocument; HRESULT hr = BaseView.get_Document(&pDocument); </code>===== See Also ===== [[:scripting:api:base-view:start|IBaseView]] ~~NOTOC~~