Zooms the current viewport to the drawing extents.
Signature
object.ZoomExtents
Object Application The object or objects this method applies to.
Remarks
This method applies only to the current active viewport (paper space viewport or model space viewport).
只能在current active viewport(目前作用视埠),最小化后可能就不是目前作用视埠了,故无效