This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IM > IMapControl2 Interface > IMapControl2.ShowScrollbars Property (ArcObjects .NET 10.5 SDK) |
Indicates whether or not the Map's scrollbars are visible.
[Visual Basic .NET] Public Property ShowScrollbars As Boolean
[C#] public bool ShowScrollbars {get; set;}
[C++]
HRESULT get_ShowScrollbars(
VARIANT_BOOL* ShowScrollbars
);
[C++]
HRESULT put_ShowScrollbars(
VARIANT_BOOL ShowScrollbars
);
[C++]
Parameters ShowScrollbars [out, retval] ShowScrollbars is a parameter of type VARIANT_BOOL ShowScrollbars [in] ShowScrollbars is a parameter of type VARIANT_BOOL
If ShowScrollbars is true, the MapControl's internal scrollbars will appear when the Extent property is less than the FullExtent property.