Dela via


BitmapFrame.OrientedPixelHeight Property

Definition

The height of the 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 = bitmapFrame.orientedPixelHeight;
Public ReadOnly Property OrientedPixelHeight As UInteger

Property Value

UInt32

unsigned int

uint32_t

The height of the 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.

Applies to