BitmapDecoder.OrientedPixelHeight Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The height of the first frame in pixels, after any EXIF orientation has been applied to the bitmap.
public:
property unsigned int OrientedPixelHeight { unsigned int get(); };
uint32_t OrientedPixelHeight();
public uint OrientedPixelHeight { get; }
var uInt32 = bitmapDecoder.orientedPixelHeight;
Public ReadOnly Property OrientedPixelHeight As UInteger
Property Value
The height of the first frame in pixels, after any EXIF orientation has been applied.
Implements
Remarks
Use this property if you need to know the height of an image or of pixel data that has EXIF orientation applied, for example, if you call GetPixelDataAsync and specify RespectExifOrientation. Also, the HTML img element in Windows app using JavaScript, and Windows.UI.Xaml.Controls.Image respect EXIF orientation.
If you need pixel dimensions of the image as it is natively stored, use the PixelHeight property.