Share via


PhotoOrientation Enum

Definition

Indicates the Exchangeable Image File (EXIF) orientation flag of the photo. This flag describes how to rotate the photo to display it correctly.

public enum class PhotoOrientation
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class PhotoOrientation
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum PhotoOrientation
var value = Windows.Storage.FileProperties.PhotoOrientation.unspecified
Public Enum PhotoOrientation
Inheritance
PhotoOrientation
Attributes

Windows requirements

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

Fields

FlipHorizontal 2

Flip the photo horizontally.

FlipVertical 4

Flip the photo vertically.

Normal 1

No rotation needed. The photo can be displayed using its current orientation.

Rotate180 3

Rotate the photo 180 degrees.

Rotate270 6

Rotate the photo counter-clockwise 270 degrees.

Rotate90 8

Rotate the photo counter-clockwise 90 degrees.

Transpose 5

Rotate the photo counter-clockwise 270 degrees and then flip it horizontally.

Transverse 7

Rotate the photo counter-clockwise 90 degrees and then flip it horizontally.

Unspecified 0

An orientation flag is not set.

Applies to

See also