Indicates if the map and page layout scrollbars are visible.
[Visual Basic .NET] Public Function get_ShowScrollbars ( _ ByVal viewType As esriARViewType _ ) As Boolean
[Visual Basic .NET] Public Sub set_ShowScrollbars ( _ ByVal viewType As esriARViewType, _ ByVal Show As Boolean _ )
[C#] public bool get_ShowScrollbars ( esriARViewType viewType );
[C#] public void set_ShowScrollbars ( esriARViewType viewType, bool Show );
Product Availability
Description
Determines whether scrollbars are shown when the CurrentView is an ARPageLayout, and whether scrollbars are shown when the CurrentView is an IARPageLayout::ARMap. The ARPageLayout and ARMap views both have independent scrollbars that are shown at the bottom edge and right hand side of the CurrentView. The Scrollbars will always be displayed regardless of the visible extent of the CurrentView. By default the ShowScrollbars property is true in both cases.
Errors Returned
2015 800A07DF: The specified view type is invalid
In C# use the get_ShowScrollbars and set_ShowScrollbars methods, as indexed property accessors are not supported.
The IARControlDefault, (and higher numbered IARControlDefault interfaces) and IARControlDefaultDefault interfaces have a default indexed property called ShowScrollbars. The ArcReaderControl interop assembly which provides access to these interfaces have the default ShowScrollbars property. However, if you are working directly with the AxArcReaderControl class use the get_ShowScrollbars and set_ShowScrollbars methods.