scripting:api:base-document:active-view

ActiveView

Property of IBaseDocument

Returns active view of the document

Read-Only Property of type IBaseView

var pView = BaseDocument.ActiveView;

==== Visual Basic Script ====

pView = BaseDocument.ActiveView

==== C++ ====

CComPtr<IBaseView> pView;
HRESULT hr = BaseDocument.get_ActiveView(&pView);

===== See Also ===== IBaseDocument