PsdImageGlobalAngle Property
Gets or sets the global angle.

Namespace: Aspose.PSD.FileFormats.Psd
Assembly: Aspose.PSD (in Aspose.PSD.dll) Version: 20.6
Syntax
public int GlobalAngle { get; set; }

Property Value

Type: Int32
Examples
The following code demonstrates support for the PsdImage.GlobalAngle property to change the global angle value.
[C#]

// When DropShadowEffect.UseGlobalLight property is 'true', then DropShadowEffect object use angle value from PsdImage.GlobalAngle property.

using (PsdImage image = (PsdImage)Image.Load("4.psd"))
{
    image.GlobalAngle = 30;
    image.Save("output.psd");
}
See Also