View
app.activeDocument.views[index]
Description
Section titled “Description”A document view in an Illustrator document, which represents a window view onto a document.
Scripts cannot create new views, but can modify some properties of existing views, including the center point, screen mode, and zoom.
Properties
Section titled “Properties”View.bounds
Section titled “View.bounds”app.activeDocument.views[index].bounds
Description
Section titled “Description”Read-only. The bounding rectangle of this view relative to the current document’s bounds.
Array of 4 Numbers
View.centerPoint
Section titled “View.centerPoint”app.activeDocument.views[index].centerPoint
Description
Section titled “Description”The center point of this view relative to the current document’s bounds.
Array of 2 Numbers
View.parent
Section titled “View.parent”app.activeDocument.views[index].parent
Description
Section titled “Description”Read-only. The document that contains this view.
View.screenMode
Section titled “View.screenMode”app.activeDocument.views[index].screenMode
Description
Section titled “Description”The mode of display for this view.
View.typename
Section titled “View.typename”app.activeDocument.views[index].typename
Description
Section titled “Description”Read-only. The class name of the referenced object.
String
View.zoom
Section titled “View.zoom”app.activeDocument.views[index].zoom
Description
Section titled “Description”The zoom factor of this view, where 100.0 is 100%.
Number (double)