ArcObjects Library Reference (ArcScan)  

IVectorization.QueryLineWidth Method

Generates the line width at the given point in raster pixels.

[Visual Basic .NET]
Public Sub QueryLineWidth ( _
    ByVal position As IPoint, _
    ByVal tolerance As Double, _
    ByRef LineWidth As Double, _
    ByVal left As IPoint, _
    ByVal right As IPoint _
)
[C#]
public void QueryLineWidth (
    IPoint position,
    double tolerance,
    ref double LineWidth,
    ref IPoint left,
    ref IPoint right
);

Product Availability

Available with ArcGIS Desktop. Requires ArcScan Extension.

Remarks

This method is called by the Raster Line Width tool on the ArcScan toolbar.

The LineWidth of a raster line is returned that is within the tolerance distance from a given point position. A line spanning the raster feature is calculated and the left and right point positions of this line are returned as the left and right parameters.

See Also

IVectorization Interface