- Imports Autodesk.AutoCAD.Runtime
- Imports Autodesk.AutoCAD.ApplicationServices
- Imports Autodesk.AutoCAD.Windows
-
- <CommandMethod("SizeDocumentWindow")> _
- Public Sub SizeDocumentWindow()
- '' Size the Document window
- Dim acDoc As Document = Application.DocumentManager.MdiActiveDocument
- acDoc.Window.WindowState = Window.State. Maximized
- End Sub
|