ZoomAll Method

Back to Methods Reference

Zooms the current viewport to display the entire drawing.

Signature

VBA : object.ZoomAll ()

VL : (vla-ZoomAll object)

(vla-ZoomAll acadapplic)

  • Object :  Application
    The object or objects this method applies to.

    Remarks

    In a plan view, AutoCAD zooms to the drawing limits or current extents, whichever is greater. In a 3D view, ZoomAll is equivalent to the ZoomExtents method. The display shows all objects even if the drawing extends outside the drawing limits.
    This method applies only to the current active viewport (paper space viewport or model space viewport).

Example :


;Get a reference to the Application object 

(setq acadapplic (vlax-get-acad-object))

(vla-ZoomAll acadapplic)

 
The AutoLisp/Visual Lisp/VBA Resource Website
Google
Search the WWW Search AfraLisp

Copyright 1999-Perpetuity by AfraLisp

All rights reserved.
Information in this document is subject to change without notice.
Site created and maintained by Kenny Ramage

The AutoLisp/Visual Lisp/VBA Resource Website