This documentation is for the old version. Go to the latest Graphics Mill docs

TransformsProvider.RotateAndFlip Method

Flips the image and/or rotates it at 90, 180, or 270 degrees (optimized comparing to Rotate(Single) method).

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Sub RotateAndFlip ( _
	flipMode As RotateFlipType _
)
C#
public void RotateAndFlip(
	RotateFlipType flipMode
)

Parameters

flipMode

Type: System.Drawing.RotateFlipType

RotateFlipType value specifying flip/rotate mode.

Remarks

You can also use RotateAndFlip class to apply this transform. Besides, if you know that you will always rotate the image at 90, 180, or 270 degrees, you can use special optimized RotateAndFlip(RotateFlipType) method (or appropriate RotateAndFlip transform).

Examples

Visual Basic
bitmap.Transforms.RotateAndFlip(System.Drawing.RotateFlipType.Rotate90FlipNone)
C#
bitmap.Transforms.RotateAndFlip(System.Drawing.RotateFlipType.Rotate90FlipNone);

See Also

Reference