Layer.BlendClippedElements

Layer.BlendClippedElements property

Gets or sets the blending of clipped element.

public bool BlendClippedElements { get; set; }

Property Value

The blending of clipped element.

Examples

The following code demonstrates support of BlendClippedElements property.

[C#]

string sourceFile = "example_source.psd";
string outputPsd = "example_output.psd";
string outputPng = "example_output.png";

using (var image = (PsdImage)Image.Load(sourceFile))
{
    image.Layers[1].BlendClippedElements = false;
    image.Save(outputPsd);
    image.Save(outputPng, new PngOptions());
}

See Also