Поделиться через


Document::ActiveView property

The ActiveView property returns a View object that represents the active view. This property is read-only.

Syntax

Property ActiveView As View

Property value

The View object for the current view.

Examples

' Get the active view.
Dim objView As MMC20.View
Set objView = objDoc.ActiveView
 
' Use the view as required.
' ...
 
' When done, free the View object.
Set objView = Nothing

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
MMCObj.h
IDL
MMCObj.idl
DLL
Mmc.exe
IID
IID_Document

See also

View object