ZoomExtents Method

Back to Methods Reference

Zooms the current viewport to the drawing extents.


VBA : object.ZoomExtents

VL : (vla-ZoomExtents object)

(vla-ZoomExtents acadapplic)

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


    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-ZoomExtents acadapplic)

The AutoLisp/Visual Lisp/VBA Resource Website
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