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


IVectorization2.ComputeDistance Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (ArcScan)  

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