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


IVectorization.Trace Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (ArcScan)  

IVectorization.Trace Method

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

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

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

IVectorization Interface