_Application.DisplayScrollBars Property
Determines if Word displays a scroll bar in at least one document window.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property DisplayScrollBars As Boolean
Get
Set
'Usage
Dim instance As _Application
Dim value As Boolean
value = instance.DisplayScrollBars
instance.DisplayScrollBars = value
bool DisplayScrollBars { get; set; }
Property Value
Type: System.Boolean
This property returns True if Microsoft Word displays a scroll bar in at least one document window, and False if there are no scroll bars displayed in any window.
Setting the DisplayScrollBars property to True displays horizontal and vertical scroll bars in all windows. Setting this property to False turns off all scroll bars in all windows.
Use the DisplayHorizontalScrollBar and DisplayVerticalScrollBar properties to display individual scroll bars in the specified window.