Adobe Illustrator CS5 Type Library JS: Layers
From Illustrator CS5
Class
Layers
A collection of layers.QuickLinks
add, getByName, removeAllHierarchy
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
Class
Layer add ()
Create a layer.
Instances
Layer getByName (name:
string)
Get the first element in the collection with the provided name.
| Parameter | Type | Description |
|---|---|---|
| name | string |
void removeAll ()
Deletes all elements.
Element of
Document.layers
Layer.layers
| Jongware, 27-Jun-2010 v3.0.3d | Contents :: Index |