PsdImageRotate Method (Single, Boolean, Color)
Rotate image around the center.

Namespace: Aspose.PSD.FileFormats.Psd
Assembly: Aspose.PSD (in Aspose.PSD.dll) Version: 20.8
Syntax
public override void Rotate(
	float angle,
	bool resizeProportionally,
	Color backgroundColor
)

Parameters

angle
Type: SystemSingle
The rotate angle in degrees. Positive values will rotate clockwise.
resizeProportionally
Type: SystemBoolean
if set to true you will have your image size changed according to rotated rectangle (corner points) projections in other case that leaves dimensions untouched and only internal image contents are rotated.
backgroundColor
Type: Aspose.PSDColor
Color of the background.
See Also