BitmapSource.PixelHeight Property


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

Gets the height of the bitmap in pixels.

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

public virtual int PixelHeight { get; }

Property Value

Type: System.Int32

The height 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