Dela via


MediaRotation Enum

Definition

Defines the direction and angle of a media rotation transform.

public enum class MediaRotation
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class MediaRotation
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum MediaRotation
var value = Windows.Media.MediaProperties.MediaRotation.none
Public Enum MediaRotation
Inheritance
MediaRotation
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.

Clockwise90Degrees 1

Rotate 90 degrees clockwise.

Clockwise180Degrees 2

Rotate 180 degrees clockwise.

Clockwise270Degrees 3

Rotate 270 degrees clockwise.

Applies to