Dela via


BitmapRotation Enum

Definition

Specifies the rotation operation to be performed on pixel data.

public enum class BitmapRotation
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class BitmapRotation
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum BitmapRotation
var value = Windows.Graphics.Imaging.BitmapRotation.none
Public Enum BitmapRotation
Inheritance
BitmapRotation
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
None 0

No rotation operation is performed.

Clockwise90Degrees 1

Perform a clockwise rotation of 90 degrees.

Clockwise180Degrees 2

Perform a clockwise rotation of 180 degrees.

Clockwise270Degrees 3

Perform a clockwise rotation of 270 degrees.

Remarks

This enumeration is used when setting the Rotation property of a BitmapTransform object.

Applies to