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

IVectorization2.Trace2 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.Trace2 Method
ArcGIS Developer Help

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

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

IVectorization2 Interface