AspectRatio Property

MultiScaleImage.AspectRatio Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the aspect ratio of the image used as the source of the MultiScaleImage. The aspect ratio is the width of the image divided by its height.

Namespace:  System.Windows.Controls
Assembly:  System.Windows (in System.Windows.dll)

'Declaration
Public ReadOnly Property AspectRatio As Double

Property Value

Type: System.Double
The aspect ratio of the image used as the source of the MultiScaleImage. The aspect ratio is the width of the image divided by its height.

Dependency property identifier field: AspectRatioProperty

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft