BitmapSource.PixelWidth Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the width of the bitmap in pixels.

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

Public Overridable ReadOnly Property PixelWidth As Integer

Property Value

Type: System.Int32

The width of the bitmap in pixels.

.NET Framework
Available since 3.0
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Return to top