PhotoOrientation PhotoOrientation PhotoOrientation PhotoOrientation 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
enum class winrt::Windows::Storage::FileProperties::PhotoOrientation : int32_t
public enum PhotoOrientation
Public Enum PhotoOrientation
var value = Windows.Storage.FileProperties.PhotoOrientation.flipHorizontal;
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

FlipHorizontal FlipHorizontal FlipHorizontal FlipHorizontal FlipHorizontal 2

Flip the photo horizontally.

FlipVertical FlipVertical FlipVertical FlipVertical FlipVertical 4

Flip the photo vertically.

Normal Normal Normal Normal Normal 1

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

Rotate180 Rotate180 Rotate180 Rotate180 Rotate180 3

Rotate the photo 180 degrees.

Rotate270 Rotate270 Rotate270 Rotate270 Rotate270 6

Rotate the photo counter-clockwise 270 degrees.

Rotate90 Rotate90 Rotate90 Rotate90 Rotate90 8

Rotate the photo counter-clockwise 90 degrees.

Transpose Transpose Transpose Transpose Transpose 5

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

Transverse Transverse Transverse Transverse Transverse 7

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

Unspecified Unspecified Unspecified Unspecified Unspecified 0

An orientation flag is not set.

See also