Skip to content

View

app.activeDocument.views[index]

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.


app.activeDocument.views[index].bounds

Read-only. The bounding rectangle of this view relative to the current document’s bounds.

Array of 4 Numbers


app.activeDocument.views[index].centerPoint

The center point of this view relative to the current document’s bounds.

Array of 2 Numbers


app.activeDocument.views[index].parent

Read-only. The document that contains this view.

Document


app.activeDocument.views[index].screenMode

The mode of display for this view.

ScreenMode


app.activeDocument.views[index].typename

Read-only. The class name of the referenced object.

String


app.activeDocument.views[index].zoom

The zoom factor of this view, where 100.0 is 100%.

Number (double)