Indicates if selection is visible.
[Visual Basic 6.0] Property ShowSelection As Boolean
[Visual Basic .NET] Public Property ShowSelection As Boolean
[C#] public bool ShowSelection {get; set;}
[Java] public getShowSelection ( boolean ShowRulers )
[Java] public void setShowSelection( boolean ShowRulers ) throws IOException, AutomationException
[C++]
HRESULT get_ShowSelection(
VARIANT_BOOL* ShowRulers
);
[C++] HRESULT put_ShowSelection( VARIANT_BOOL ShowRulers);
Parameters
ShowRulers [out, retval]
ShowRulers is a parameter of type VARIANT_BOOL
ShowRulers [in]
ShowRulers is a parameter of type VARIANT_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.