This document is archived and information here might be outdated.  Recommended version.


IVectorization2.ComputeDistance Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > ArcScan > ESRI.ArcGIS.ArcScan > Interfaces > IV > IVectorization2 Interface > IVectorization2.ComputeDistance Method
ArcGIS Developer Help

IVectorization2.ComputeDistance Method

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.

See Also

IVectorization2 Interface