Share via


AspectRatio

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

Gets the aspect ratio of the image used as the source.

value = object.AspectRatio

Property Value

Type: double

The width of the image divided by its height.

This property is read-only.

Managed Equivalent

AspectRatio

Version Information

Silverlight 2