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

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

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
public IPolyline Trace (
    IPoint fromPt,
    IPoint direction,
    double tolerance

Product Availability

Available with ArcGIS Desktop. Requires ArcScan Extension.


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