Share via


BitmapSource.PixelWidth Property

Definition

Gets the width of the bitmap in pixels.

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

int

The width of the bitmap in pixels.

Applies to