视图
app.activeDocument.views
文档中 View 对象的集合。
Views.length
Section titled “Views.length”app.activeDocument.views.length
集合中对象的数量。
数字;只读。
Views.parent
Section titled “Views.parent”app.activeDocument.views.parent
此对象的父对象。
对象;只读。
Views.typename
Section titled “Views.typename”app.activeDocument.views.typename
引用对象的类名。
字符串;只读。
Views.index()
Section titled “Views.index()”app.activeDocument.views.index(itemKey)
从集合中获取一个元素。
参数 | 类型 | 描述 |
---|---|---|
itemKey | 字符串, 数字 | 字符串或数字键 |