PhotoOrientation enumeration

Applies to Windows and Windows Phone

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

Syntax

Public Enum PhotoOrientation

Attributes

[Version(0x06020000)]

Members

The PhotoOrientation enumeration has these members.

MemberValueDescription
Unspecified | unspecified0

An orientation flag is not set.

Normal | normal1

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

FlipHorizontal | flipHorizontal2

Flip the photo horizontally.

Rotate180 | rotate1803

Rotate the photo counter-clockwise 180 degrees.

FlipVertical | flipVertical4

Flip the photo vertically.

Transpose | transpose5

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

Rotate270 | rotate2706

Rotate the photo counter-clockwise 270 degrees.

Transverse | transverse7

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

Rotate90 | rotate908

Rotate the photo 90 degrees.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Storage.FileProperties
Windows::Storage::FileProperties [C++]

Metadata

Windows.winmd

See also

ImageProperties.Orientation

 

 

Show:
© 2014 Microsoft