Adobe Photoshop CS5 Object Library JS: LayerSets

Photoshop CS5

Class

LayerSets

 The collection of layer set objects in the document.

See also LayerSet.

QuickLinks

[], add, getByName, removeAll

Hierarchy

Object
LayerSets

Properties

PropertyTypeAccessDescription
lengthint readonlyNumber of elements in the collection.
parentObject readonlyThe object's container.
typenamestring readonlyThe class name of the object.

Methods

Instances

LayerSet [] (index: uint)
Get an element in the collection with the provided index.

ParameterTypeDescription
indexuint

LayerSet add ()
Adds an element.

LayerSet getByName (name: string)
Get the first element in the collection with the provided name.

ParameterTypeDescription
namestring

void removeAll ()
Deletes all elements.

Element of

Document.layerSets

LayerSet.layerSets

Jongware, 28-Aug-2012 v3.0.3iContents :: Index