Edit in GitHubLog an issue

LayerCompCreateOptions

一个对象的字面意义可以用以下任何属性来构建,并传递给 LayerComps.add. 作为一种类型, LayerCompCreateOptions 可以在Typescript开发中使用。

Copied to your clipboard
1const options = { name: "mockup", comment: "First attempt", visibility: true };
2await require('photoshop').app.activeDocument.layerComps.add(options);
名称类型默认最低版本描述
appearancebooleanfalse24.0记录各层的状态'效果。
childCompbooleanfalse24.0记录被记录的图层智能对象中包含的任何图层组合的状态。
commentstringnull24.0该注释出现在图层压缩选项对话框中。
namestring-24.0在图层组合面板中显示的名称。如果没有提供值,那么将按照模板生成一个名称。 "Layer Comp #".
positionbooleantrue24.0记录图层位置的状态。
visibilitybooleanfalse24.0记录各层的可见性状态。
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.