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 PhotoOrientationpublic enum PhotoOrientationPublic Enum PhotoOrientation// You can use this enum in JavaScript.
- 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 | 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. |