PhotoshopCC 2015.5
Collection of Layer

Layers

The collection of layer objects, including art layer and layer set objects, in the document.

Properties

NameType AccessDescription
Int readonly Number of elements in the collection.
The readonly The object's container.
String readonly The class name of the object.

Methods

Layer

Get an element in the collection with the provided index.

index Uint
Layer

Get the first element in the collection with the provided name.

name String
void

Deletes all elements.

Object of 2

Properties elsewhere that hold a Layers.