This document is archived and information here might be outdated. Recommended version. |
The default selection color.
[Visual Basic .NET] Public Property SelectionColor As IColor
[C#] public IColor SelectionColor {get; set;}
[C++]
HRESULT get_SelectionColor(
IColor** Color
);
[C++]
HRESULT put_SelectionColor(
IColor* Color
);
[C++] Parameters Color [out, retval]
Color is a parameter of type IColor** Color [in]
Color is a parameter of type IColor*
The color with which all selected features in the map are drawn.
Set this property when you wish to change the default selection color for all layers in the map. The ArcMap default selection color is cyan. This color applies to all layers within the map. If you want to use different selection colors for individual layers, use SelectionColor on ILayerDescription2. The default selection symbols for a map are: a circle for points, a solid line for lines and a hollow fill (solid outline) for polygons. If you want to change the selection symbol for a layer, use SelectionSymbol on ILayerDescription.