Acad.Editor.CurrentViewport.getViewProperties Function
File
Autodesk.AutoCAD.js
Syntax
JavaScript
function Acad.Editor.CurrentViewport.getViewProperties();
Group
Returns
Acad.ViewProperties object in the success callback function.
This function returns a promise pattern result, it has to be called as a Promise Pattern with .then(onSuccess, onError)
function.
Description
Use this function to return the position, target , upVector, fieldWidth and fieldHeight of the current viewport.