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


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

IVectorization.QuerySolidDiameter Method

Generates the solid diameter at the given point in raster pixels.

[Visual Basic .NET]
Public Sub QuerySolidDiameter ( _
    ByVal position As IPoint, _
    ByVal tolerance As Double, _
    ByRef solidDiameterPixels As Double, _
    ByVal center As IPoint, _
    ByRef solidDiameterMapUnits As Double _
)
[C#]
public void QuerySolidDiameter (
    IPoint position,
    double tolerance,
    ref double solidDiameterPixels,
    ref IPoint center,
    ref double solidDiameterMapUnits
);

Product Availability

Available with ArcGIS Desktop. Requires ArcScan Extension.

Remarks

This method is called by the Solid Diameter tool available via ArcScan command customization.

If a solid raster feature is found within a tolerance distance from a given point position , the center point is returned together with the diameter of the feature as solidDiameterPixels and solidDiameterMapUnits.

See Also

IVectorization Interface