BitmapImage.DecodePixelWidth Property


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

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

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

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

Property Value


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

Applies to