Partager via


PixelHeight

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the height of the decoded bitmap in pixels.

value = object.PixelHeight

Property Value

Type: int

The height of the source of the image, in pixels.

This property is read-only. There is no default.

Managed Equivalent

PixelHeight

Remarks

This property is only available for a BitmapImage that has been downloaded or retrieved from the cache, and decoded. You should read this property only from within an ImageOpened handler.

Applies To

BitmapImage

Version Information

Silverlight 3