BitmapImage.DecodePixelHeight Property


Gets or sets the height to use for image decoding operations.

Equivalent WinUI property: Microsoft.UI.Xaml.Media.Imaging.BitmapImage.DecodePixelHeight.

 property int DecodePixelHeight { int get(); void set(int value); };
int DecodePixelHeight();

void DecodePixelHeight(int value);
public int DecodePixelHeight { get; set; }
var int32 = bitmapImage.decodePixelHeight;
bitmapImage.decodePixelHeight = int32;
Public Property DecodePixelHeight As Integer
<BitmapImage DecodePixelHeight="int" />

Property Value


The height (in pixels) to use for image decoding operations.

Applies to