PhotoshopCC 2015.5
Collection of LayerComp

LayerComps

The layer comp objects associated with 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

LayerComp

Get an element in the collection with the provided index.

index Uint
LayerComp

Adds a layer comp.

name String The name of the layer comp.
comment? String The description of the layer comp.
appearance? Boolean If true, uses the layer appearance or style for this layer comp.
position? Boolean If true, uses the layer position for this layer comp.
visibility? Boolean If true, uses the layer visibility for this layer comp.
LayerComp

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

name String

Object of 1

Properties elsewhere that hold a LayerComps.