This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > ArcScan > ESRI.ArcGIS.ArcScan > Interfaces > IV > IVectorization2 Interface > IVectorization2.ComputeDistance Method (ArcObjects .NET 10.5 SDK) |
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 );
This method computes distance between fromPt and toPt and return value in out parameter distance in raster pixels.