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


IEditor.CreateSearchShape Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IE > IEditor Interface > IEditor.CreateSearchShape Method
ArcGIS Developer Help

IEditor.CreateSearchShape Method

Creates a geometry using the point and the current search tolerance.

[Visual Basic .NET]
Public Function CreateSearchShape ( _
    ByVal point As IPoint _
) As IGeometry
[C#]
public IGeometry CreateSearchShape (
    IPoint point
);

Product Availability

Available with ArcGIS Desktop.

Remarks

CreateSearchShape is a convenient function that helps you select features that fall near a specific point. This function creates a small geometry around the required point parameter that can then be used by a spatial filter to select features. The size of the geometry created around the point is controlled by the focus map's search tolerance (IMxDocument::SearchTolerancePixels).
The returned IGeometry reference is to a new Envelope object.

See Also

IEditor Interface