Adobe Photoshop CS5 Object Library JS: Channels

Photoshop CS5

Class

Channels

 The collection of channel objects in the document.

See also Channel.

QuickLinks

[], add, getByName, removeAll

Hierarchy

Object
Channels

Properties

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

Methods

Instances

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

ParameterTypeDescription
indexuint

Channel add ()
Adds an element.

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

ParameterTypeDescription
namestring

void removeAll ()
Deletes all elements.

Element of

Document.channels

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