LayerCompRecaptureOptions

An object literal can be constructed with any of the following properties and passed to LayerComp.recapture. As a type, LayerCompRecaptureOptions can be used in Typescript development.

const options = { visibility: true, position: true };
await require('photoshop').app.activeDocument.layerComps.add(options);
Name
Type
Default
Min Version
Description
appearance
boolean
false
24.0
Update the recorded state of the layers' effects.
childComp
boolean
false
24.0
Update the recorded state of any Layer Comps contained in the recorded layers' Smart Objects.
position
boolean
false
24.0
Update the recorded state of the layers' position.
visibility
boolean
false
24.0
Update the recorded state of the layers' visibility.