User Tools

Site Tools


thinkgeo.mapsuite.windowsphonecore.conversion

ThinkGeo.MapSuite.WindowsPhoneCore.Conversion

Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.

<!– Class –> This static class provides a conversion method to go to and from different units.

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Name Parameters DeclaringType Summary
Public MethodStatic MemberConvertMeasureUnits Double, AreaUnit, AreaUnit This method converts from one unit of measure to another.
Public MethodStatic MemberConvertMeasureUnits Double, DistanceUnit, DistanceUnit This method converts from one unit of measure to another.
Public MethodEquals Object Object
Public MethodGetHashCode Object
Public MethodGetType Object
Public MethodToString Object

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodFinalize Object
Protected MethodMemberwiseClone Object

Public Properties

Name Return DeclaringType Summary

Protected Properties

Name Return DeclaringType Summary

Public Events

Name Event Arguments DeclaringType Summary

Public Constructors

Protected Constructors

Public Methods

ConvertMeasureUnits(Double, AreaUnit, AreaUnit)

<!– static –> This method converts from one unit of measure to another.

Overloads

This overload handles area units.

Return Value

Return Type Description
Double<!– System.Double –> The return area size, represented in the unit specified in the toUnit parameter.

Parameters

Name Type Description
amount Double<!– System.Double –> The total area size, represented in the unit specified in the fromUnit parameter.
fromUnit AreaUnit<!– ThinkGeo.MapSuite.WindowsPhoneCore.AreaUnit –> The unit of measure for the area in the Amount parameter.
toUnit AreaUnit<!– ThinkGeo.MapSuite.WindowsPhoneCore.AreaUnit –> The unit of measure for the result.

<!– ThinkGeo.MapSuite.WindowsPhoneCore.Conversion –> Go Back

ConvertMeasureUnits(Double, DistanceUnit, DistanceUnit)

<!– static –> This method converts from one unit of measure to another.

Overloads

This overload handles length units.

Return Value

Return Type Description
Double<!– System.Double –> The return length size, represented in the unit specified in the toUnit parameter.

Parameters

Name Type Description
amount Double<!– System.Double –> The total length size, represented in the unit specified in the fromUnit parameter.
fromUnit DistanceUnit<!– ThinkGeo.MapSuite.WindowsPhoneCore.DistanceUnit –> The unit of measure for the length in the Amount parameter.
toUnit DistanceUnit<!– ThinkGeo.MapSuite.WindowsPhoneCore.DistanceUnit –> The unit of measure for the result.

<!– ThinkGeo.MapSuite.WindowsPhoneCore.Conversion –> Go Back

Equals(Object)

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
obj Object<!– System.Object –>

<!– System.Object –> Go Back

GetHashCode()

Return Value

Return Type Description
Int32<!– System.Int32 –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetType()

Return Value

Return Type Description
Type<!– System.Type –>

Parameters

Name Type Description

<!– System.Object –> Go Back

ToString()

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Protected Methods

Finalize()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Object –> Go Back

MemberwiseClone()

Return Value

Return Type Description
Object<!– System.Object –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Public Properties

Protected Properties

Public Events

thinkgeo.mapsuite.windowsphonecore.conversion.txt · Last modified: 2017/03/16 21:59 (external edit)