Returns the distance in map units between the Point and a shape.


Namespace: ActualMap
Assembly: ActualMap (in ActualMap.dll)

Syntax

Visual Basic (Declaration)
Public Function DistanceTo( _ 
   ByVal shape As Object _ 
) As Double
C#
public double DistanceTo(
   object shape
)
C++
public:
 double DistanceTo(
   Object shape
) sealed 
J#
public double DistanceTo(
   object shape
)
JScript
public  function DistanceTo(
   shape : Object
) : double

Parameters

shape
An object expression that can be one of Point, Rectangle, Points, Polyline, Polygon or Shape object.

See Also