ActiveDocument Property
IntelliCAD 11.1 Object Library | |
ActiveDocument Property | |
See Also |
Workspace Object : ActiveDocument Property |
Description
Returns the active document object.
Property type
Read-only property
Syntax
Visual Basic |
---|
Public Property ActiveDocument As Document |
Example
Private Sub ActiveDocPropExample()
Dim activeDoc As Document
Set activeDoc = Application.ActiveDocument
MsgBox "The active document is: " & activeDoc.Name, vbInformation, "ActiveDocument Example"
End Sub