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


IVectorization.QueryLineWidth 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.QueryLineWidth Method
ArcGIS Developer Help

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