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


IMapControl2.ShowScrollbars Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Controls)  

IMapControl2.ShowScrollbars Property

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

Product Availability

Available with ArcGIS Engine.

Description

If ShowScrollbars is true, the MapControl's internal scrollbars will appear when the Extent property is less than the FullExtent property.

See Also

IMapControl2 Interface