Class
The layer comp objects associated with the document.
[], add, getByName
LayerComps
See also LayerComp.
QuickLinks
Hierarchy
Properties
| Property | Type | Access | Description |
|---|---|---|---|
| length | int | readonly | Number of elements in the collection. |
| parent | Object | readonly | The object's container. |
| typename | string | readonly | The class name of the object. |
Methods
Instances
LayerComp [] (index:
uint)
Get an element in the collection with the provided index.
| Parameter | Type | Description |
|---|---|---|
| index | uint |
LayerComp add (name:
string[, comment:
string][, appearance:
bool=false][, position:
bool=false][, visibility:
bool=true])
Adds a layer comp.
| Parameter | Type | Description |
|---|---|---|
| name | string | The name of the layer comp. |
| comment | string | The description of the layer comp. (Optional) |
| appearance | bool | If true, uses the layer appearance or style for this layer comp. (default: false) (Optional) |
| position | bool | If true, uses the layer position for this layer comp. (default: false) (Optional) |
| visibility | bool | If true, uses the layer visibility for this layer comp. (default: true) (Optional) |
LayerComp getByName (name:
string)
Get the first element in the collection with the provided name.
| Parameter | Type | Description |
|---|---|---|
| name | string |
Element of
Document.layerComps
| Jongware, 28-Aug-2012 v3.0.3i | Contents :: Index |