Rotation Enumeration

 

Specifies the rotation to apply to a bitmap image.

Namespace:   System.Windows.Media.Imaging
Assembly:  PresentationCore (in PresentationCore.dll)

public enum class Rotation

Member nameDescription
Rotate0

The bitmap is not rotated. This is the default value.

Rotate180

Rotate the bitmap clockwise by 180 degrees.

Rotate270

Rotate the bitmap clockwise by 270 degrees.

Rotate90

Rotate the bitmap clockwise by 90 degrees.

Only 90 degree increments are supported.

The following example demonstrates how to apply a rotation to a bitmap image.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: