LayerComp
Represents a single layer comp in the document.
Properties
Methods
apply
<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">24.0</span>
<br/> async : Promise<void>
Applies the layer comp to the document.
duplicate
<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">24.0</span>
<br/> async : Promise<LayerComp>
Duplicates this layer comp
recapture
<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">24.0</span>
<br/> async : Promise<void>
Updates the recorded states of the layers for this layer comp.
With no arguments, the update applies to all layers and all properties supported by this layer comp.
app.activeDocument.layerComps[0].recapture();
remove
<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">24.0</span>
<br/> async : Promise<void>
Deletes this object from document.
resetLayerComp
<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">24.0</span>
<br/> async : Promise<void>
Resets the layer comp state to the document state.