BitmapSource.PixelWidth Property

Definition

Gets the width of the bitmap in pixels.

Equivalent WinUI property: Microsoft.UI.Xaml.Media.Imaging.BitmapSource.PixelWidth.

public:
 property int PixelWidth { int get(); };
int PixelWidth();
public int PixelWidth { get; }
var int32 = bitmapSource.pixelWidth;
Public ReadOnly Property PixelWidth As Integer

Property Value

Int32

The width of the bitmap in pixels.

Applies to