Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

BitmapSource.PixelWidth Property

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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


Feedback

Was this page helpful?