This document is archived and information here might be outdated. Recommended version. |
Indicates if scrollbars should appear.
[Visual Basic .NET]
Public Property UseScrollbars As Boolean
[C#]
public bool UseScrollbars {get; set;}
[C++]
HRESULT get_UseScrollbars(
VARIANT_BOOL flag
);
[C++]
HRESULT put_UseScrollbars(
Boolean* flag
);
[C++] Parameters flag [in]
flag is a parameter of type bool flag [out, retval]
flag is a parameter of type bool*
IActiveView::ShowScrollBars redirects all its calls to this property.
Changes to this property are not reflected until the active view changes. For example, when in layout view in ArcMap, programmatically changing the PageLayout to not show its scrollbars will have no effect until the next time the active view is set to the PageLayout; calling IActiveView::Refresh has no effect.
ArcMap uses this property to hide the Map's scroll bars when in layout view. Programmatically trying to display a Map's scroll bar in layout view will have no effect; for Map's this setting is only honored in data view and again it requires an active view change before the setting is reflected in the applications window.