Computes the actual distance between two points given their map points.
[Visual Basic .NET] Public Sub GetDistance ( _ ByVal pFirstPoint As IPoint, _ ByVal pSecondPoint As IPoint, _ ByRef ppDistMeasurement As IDistanceMeasurement _ )
[C#] public void GetDistance ( IPoint pFirstPoint, IPoint pSecondPoint, ref IDistanceMeasurement ppDistMeasurement );
[C++]
HRESULT GetDistance(
IPoint* pFirstPoint,
IPoint* pSecondPoint,
IDistanceMeasurement** ppDistMeasurement
);
[C++]Parameters
pFirstPoint [in]pFirstPoint is a parameter of type IPoint
pSecondPoint [in]pSecondPoint is a parameter of type IPoint
ppDistMeasurement [out]ppDistMeasurement is a parameter of type IDistanceMeasurement
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.