Converts a linear measurement in pixels to a distance in map units.


Namespace: AspMap.Web
Assembly: AspMapNET (in AspMapNET.dll)

Syntax

Visual Basic (Declaration)
Public Function ToMapDistance( _ 
   ByVal distance As Integer _ 
) As Double
C#
public double ToMapDistance(
   int distance
)
C++
public:
 double ToMapDistance(
   int distance
) sealed 
J#
public double ToMapDistance(
   int distance
)
JScript
public  function ToMapDistance(
   distance : int
) : double

Parameters

distance
The linear measurement in pixels.

See Also