LayerComp

Description

A snapshot of a state of the layers in a document (can be used to view different page layouts or compostions).

Properties

appearance readonly If true, uses layer appearance (layer styles) settings.
comment readonly The description of the layer comp.
name readonly The name of the layer comp.
parent readonly The object’s container.
position readonly If true, uses layer position.
selected readonly If true, the layer comp is currently selected.
typename readonly The class name of the object.
visibility readonly If true, the layer comp is visible.

Methods

add readonly Adds an element.
apply readonly Applies the layer comp to the document.
recapture readonly Recaptures the current layer state(s) for this layer comp.
remove readonly Deletes this object.
removeAll readonly Deletes all elements.
resetFromComp readonly Resets the layer comp state to the document state.