This document is archived and information here might be outdated. Recommended version. |
Indicates if selection is visible.
[Visual Basic .NET]
Public Property ShowSelection As Boolean
[C#]
public bool ShowSelection {get; set;}
[C++]
HRESULT get_ShowSelection(
Boolean* ShowRulers
);
[C++]
HRESULT put_ShowSelection(
VARIANT_BOOL ShowRulers
);
[C++] Parameters ShowRulers [out, retval]
ShowRulers is a parameter of type bool* ShowRulers [in]
ShowRulers is a parameter of type bool
This property is primarily used to hide a Map's element selection in layout view unless a Map has been activated.
When in layout view, the PageLayout always has its ShowSelection set to true, setting it to false has no effect. Similarly, when in data view, the focus Map always has its ShowSelection set to true and this cannot be overridden.