Application 对象

类名:"AutoCAD.Application"。

属性/方法 意义
ActiveDocument 当前活动文档,同 ThisDrawing
Documents Documents 集合对象
Quit([Savechangs],[Format]) 退出
RunMacro(Path) 运行宏
ZoomAll() 显示图纸极限
ZoomCenter(Center, Magnify) 显示中心及比例
ZoomExtents() 显示所有图形
ZoomPrevious() 返回上次显示大小
ZoomWindow(LowerLeft, UpperRight) 显示指定范围
FullName 可执行程序路径
Width Height 窗口宽度、高度
Version 版本字符串
Preferences 选项设置对象