GetActiveDocument Method (IApplication)
Gets the active document.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetActiveDocument() As Document |
C# | |
---|
Document GetActiveDocument() |
Parameters
- Doc[out] or Return Value
- Active document
Example
This code snippet shows how to get the active document.
COM native C++
//Get active document
m_DsActiveDoc = m_DsApp->GetActiveDocument();
Example
See Also
Availability
DraftSight V1R1