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

Autodesk.AutoCAD.js

JavaScript
function Acad.Editor.CurrentViewport.getViewport();

Acad.Rectangle2d object which has lowerLeft and upperRight as Acad.Point2d objects.

Use this function to retrieve the extents of the viewport in normalized device coordinates.

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