PsdImageAddInvertAdjustmentLayer Method
Adds an invert adjustment layer.

Namespace: Aspose.PSD.FileFormats.Psd
Assembly: Aspose.PSD (in Aspose.PSD.dll) Version: 20.6
Syntax
public InvertAdjustmentLayer AddInvertAdjustmentLayer()

Return Value

Type: InvertAdjustmentLayer
The created invert layer
Examples
The following code demonstrates support for the InvertAdjustmentLayer and how to add InvertAdjustmentLayer.
[C#]

var filePath = "InvertStripes_before.psd";
var outputPath = "InvertStripes_after.psd";
using (var im = (PsdImage)Image.Load(filePath))
{
    im.AddInvertAdjustmentLayer();
    im.Save(outputPath);
}
See Also