Compute distance from fromPt to toPt.
[Visual Basic .NET] Public Function ComputeDistance ( _ ByVal fromPt As IPoint, _ ByVal toPt As IPoint _ ) As Double
[C#] public double ComputeDistance ( IPoint fromPt, IPoint toPt );
Product Availability
Available with ArcGIS Desktop. Requires ArcScan Extension.
Remarks
This method computes distance between fromPt and toPt and return value in out parameter distance in raster pixels.