Share via


Window.ShowScrollBars Property

Visio Automation Reference

Determines whether scroll bars are shown in the drawing window. Read/write.

Version Information
 Version Added:  Visio 2002

Syntax

expression.ShowScrollBars

expression   A variable that represents a Window object.

Return Value
Integer

Remarks

The ShowScrollBars property value can be any combination of the following VisScrollbarStates constants, which are declared in the Visio type library. The default value is visScrollBarBoth, which shows both horizontal and vertical scroll bars.

Constant Value

visScrollBarNeither

&H0

visScrollBarHoriz

&H1

visScrollBarVert

&H4

visScrollBarBoth

&H5

See Also