ArcObjects Library Reference (ArcScan)  

IVectorization2.Trace2 Method

Generates a geometry from the given fromPt to the next intersection.

[Visual Basic .NET]
Public Function Trace2 ( _
    ByVal fromPt As IPoint, _
    ByVal direction As IPoint, _
    ByVal tolerance As Double, _
    ByVal cancel As ITrackCancel _
) As IPolyline
[C#]
public IPolyline Trace2 (
    IPoint fromPt,
    IPoint direction,
    double tolerance,
    ITrackCancel cancel
);

Product Availability

Available with ArcGIS Desktop. Requires ArcScan Extension.

Remarks

This method is called by the Vectorization Trace tool on the ArcScan toolbar.

The fromPt is the initial start point, the direction of trace is given by a direction point (end of the feedback arrow in the tool). A raster line within the tolerance is traced to the next intersection and the vector is returned as IPolyline. In the tool, this is used to create sketch geometry.

See Also

IVectorization2 Interface