This document is archived and information here might be outdated.  Recommended version.


IARControlDefault.ShowScrollbars Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (PublisherControls)  

IARControlDefault.ShowScrollbars Property

Indicates if the map and page layout scrollbars are visible.

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

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 

[C#]

In C# use the get_ShowScrollbars and set_ShowScrollbars methods, as indexed property accessors are not supported.

[Visual Basic .NET]

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.

See Also

IARControlDefault Interface