PhotoOrientation PhotoOrientation PhotoOrientation PhotoOrientation Enum

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

Syntax

Declaration

public enum PhotoOrientationpublic enum PhotoOrientationPublic Enum PhotoOrientationpublic enum PhotoOrientation

Fields

FlipHorizontal
FlipHorizontal
FlipHorizontal
FlipHorizontal

Flip the photo horizontally.

FlipVertical
FlipVertical
FlipVertical
FlipVertical

Flip the photo vertically.

Normal
Normal
Normal
Normal

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

Rotate180
Rotate180
Rotate180
Rotate180

Rotate the photo 180 degrees.

Rotate270
Rotate270
Rotate270
Rotate270

Rotate the photo counter-clockwise 270 degrees.

Rotate90
Rotate90
Rotate90
Rotate90

Rotate the photo counter-clockwise 90 degrees.

Transpose
Transpose
Transpose
Transpose

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

Transverse
Transverse
Transverse
Transverse

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

Unspecified
Unspecified
Unspecified
Unspecified

An orientation flag is not set.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute

Details

Assembly

Windows.Storage.FileProperties.dll