JavaScript Application Programming Interface (API) for AutoCAD
ContentsIndexHome
PreviousUpNext
Acad.Editor.CurrentViewport.zoomExtents Function

Autodesk.AutoCAD.js

JavaScript
function Acad.Editor.CurrentViewport.zoomExtents(minPoints,maxPoints,animate);
Parameters 
Description 
minPoint 
represents the corner of the box that is defined by the three smallest component values of type Acad.Point3d 
maxPoint 
represents the corner of the box that is defined by the three largest component values of type Acad.Point3d 
animate 
is Boolean 

Use this function to modify the current view such that the input bounding box defined by the two extents points is completely within the view.

Links
Copyright (c) 2016. All rights reserved.
What do you think about this topic? Send feedback!