PsdImage.AddInvertAdjustmentLayer
PsdImage.AddInvertAdjustmentLayer method
添加一个反转调整层。
public InvertAdjustmentLayer AddInvertAdjustmentLayer()
返回值
创建的反转层
例子
以下代码演示了对 InvertAdjustmentLayer 的支持以及如何添加 InvertAdjustmentLayer。
[C#]
var filePath = "InvertStripes_before.psd";
var outputPath = "InvertStripes_after.psd";
using (var im = (PsdImage)Image.Load(filePath))
{
im.AddInvertAdjustmentLayer();
im.Save(outputPath);
}
也可以看看
- class InvertAdjustmentLayer
- class PsdImage
- 命名空间 Aspose.PSD.FileFormats.Psd
- 部件 Aspose.PSD