ArcObjects Library Reference (Editor)  

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