Adobe Illustrator CS6 Type Library JS: Layers

Illustrator CS6

Class

Layers

 A collection of layers.

See also Layer.

QuickLinks

add, getByName, removeAll

Hierarchy

Object
Layers

Properties

PropertyTypeAccessDescription
lengthint readonlyNumber of elements in the collection.
parentObject readonlyThe object's container.
typenamestring readonlyThe 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.

ParameterTypeDescription
namestring

void removeAll ()
Deletes all elements.

Element of

Document.layers

Layer.layers

Jongware, 25-Nov-2012 v3.0.3iContents :: Index