Gets the aspect ration of a Size

Namespace: Ico.Windows.Media.Media3D
Assembly: Ico3DControlsLibrary (in Ico3DControlsLibrary.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

C#
public static double GetAspectRatio(
	Size size
)
Visual Basic
Public Shared Function GetAspectRatio ( _
	size As Size _
) As Double
JScript
public static function GetAspectRatio(
	size : Size
) : double

Parameters

size
Type: System.Windows..::..Size
the Size to analyze

Return Value

the aspect ratio

See Also