ActiveDocument
Property of IApplication
Description
Active document object
Property type
Read-Only Property of type IBaseDocument
Syntax
JavaScript
var pDocument = Application.ActiveDocument;
Visual Basic Script
pDocument = Application.ActiveDocument
C++
CComPtr<IBaseDocument> pDocument; HRESULT hr = Application.get_ActiveDocument(&pDocument);