Specifications

Table Of Contents
Adobe Photoshop CS6
JavaScript Scripting Reference JavaScript Object Reference 65
ArtLayers
The collection of ArtLayer objects in a document or layer set.
Access through the Document
.artLayers or LayerSet.artLayers collection. For example:
var layerRef = docRef.artLayers.add()
Properties
Methods
Property Value type What it is
length
number
Read-only. The number of elements in the artLayers
collection.
parent
Document
Read-only. The object's container.
typename
string
Read-only. The class name of the referenced
artLayers object.
Method Parameter type Returns What it does
add
()
ArtLayer
Creates a new art layer in the
document and adds the new object to
this collection.
getByName
(name)
string
ArtLayer
Get the first element in the artLayers
collection with the provided name.
removeAll
()
Removes all elements from the
artLayers collection.