Skip to content

Views

app.activeDocument.views

A collection of View objects in a document.


app.activeDocument.views.length

The number of objects in the collection

Number; read-only.


app.activeDocument.views.parent

The parent of this object.

Object; read-only.


app.activeDocument.views.typename

The class name of the referenced object.

String; read-only.


app.activeDocument.views.index(itemKey)

Gets an element from the collection.

ParameterTypeDescription
itemKeyString, NumberString or number key

View