This document is archived and information here might be outdated. Recommended version. |
Indicates if map tips are shown.
[Visual Basic .NET] Public Property ShowMapTips As Boolean
[C#] public bool ShowMapTips {get; set;}
[C++]
HRESULT get_ShowMapTips(
void
);
[C++]
HRESULT put_ShowMapTips(
);
Determines whether map tips are displayed (if they exist) as the mouse moves over layer features. By default the ShowMapTips property is set to false. To alter the appearance and behaviour of the map tips use the TipStyle and TipDelay properties.
The text for the map tip is taken from the IActiveView::TipText property that examines the data layers to find a layer that can return map tips. Map tips are typically a field value, like a features name. For performace reasons ensure that layers that return map tips have a spatial index.