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
Protected Methods
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
GetType()
Return Value
Return Type | Description |
Type<!– System.Type –> | |
Parameters
ToString()
Return Value
Return Type | Description |
String<!– System.String –> | |
Parameters
Protected Methods
Finalize()
Return Value
Return Type | Description |
Void<!– System.Void –> | |
Parameters
MemberwiseClone()
Return Value
Return Type | Description |
Object<!– System.Object –> | |
Parameters
Public Properties
Protected Properties
Public Events