Provides access to members that control the selection environment.
Product Availability
Members
Description | ||
---|---|---|
AreaSearchDistance | Distance used for selecting areas by proximity. | |
AreaSelectionMethod | Selection method used for areas. | |
CombinationMethod | Combination method for the selection results. | |
DefaultColor | Default selection color. | |
LinearSearchDistance | Distance used for selecting lines by proximity. | |
LinearSelectionMethod | Selection method used for lines. | |
PointSearchDistance | Distance used for selecting points by proximity. | |
PointSelectionMethod | Selection method used for points. | |
SearchTolerance | Search tolerance in device units. |
CoClasses that implement ISelectionEnvironment
CoClasses and Classes | Description |
---|---|
SelectionEnvironment | Defines the feature selection environment. |
Remarks
ISelectionEnvironment controls the way the selection is created and displayed. The application's selection environment is available via IMxApplication::SelectionEnvironment.
AreaSelectionMethod, LinearSelectionMethod and PointSelectionMethod define the spatial relations used to select interactively the different kinds of features. This is similar to the options found in the Selection Options dialog in ArcMap for the interactive selection but it can be set differently depending on the feature's geometry type.
Also a different search distance can be set for each type using the AreaSearchDistance, LinearSearchDistance and PointSearchDistance. These distance are used when searching by proximity for instance when using the IMap::SelectByShape method.
The CombinationMethod property defines how the selection performed will combine with an existing selection.
The DefaultColor property allows you to replace the default light blue of selected object with your favorite color.
The SearchTolerance property defines a global search tolerance to use for selection operations as exemplified in the IAnchorPoint example.
See Also
IMxApplication.SelectionEnvironment Property