Share via


ShowScrollBars Property [Visio 2003 SDK Documentation]

Determines whether scroll bars are shown in the drawing window.

intRet = object**.ShowScrollBars**

object**.ShowScrollBars** = intExpression

intRet     Integer. Non-zero if one or more scroll bars are showing; otherwise, zero (0).

object     Required. An expression that returns a Window object.

intExpression     Required Integer. See Remarks **for possible values.

Version added

2002

Remarks

The intExpression argument 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

Applies to | Window object

See Also | ShowPageTabs property