BitmapImage.DecodePixelWidth Property

Definition

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

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

public:
 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

Int32

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

Applies to