This documentation is archived and is not being maintained.

_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)

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.
Show: