BitmapSizeOptions.PixelWidth Property

 

The width, in pixels, of the bitmap image.

Namespace:   System.Windows.Media.Imaging
Assembly:  PresentationCore (in PresentationCore.dll)

public int PixelWidth { get; }

Property Value

Type: System.Int32

The width of the bitmap.

PixelWidth must be greater than zero to be valid.

.NET Framework
Available since 3.0
Return to top
Show: