ESRI.ArcGIS.Mobile
Distance Method
See Also  Send Feedback
ESRI.ArcGIS.Mobile.Geometries Namespace > IGeometry Interface : Distance Method

other
Geometry used to calculate distance.
Returns the closest distance between the two geometries. If zero, then they intersect. If negative, one of the geometry is contained inside the other one.

Syntax

Visual Basic (Declaration) 
Function Distance( _
   ByVal other As IGeometry _
) As Double
C# 
double Distance( 
   IGeometry other
)

Parameters

other
Geometry used to calculate distance.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also