ShowScrollBars property

Microsoft Visio Developer Reference

ShowScrollBars property

   Example   

Determines whether scroll bars are shown in the drawing window.

Version added

2002

Syntax

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.

Remarks

The intExpression argument can be any combination of the following VisScrollbarStates constants, which are declared in the Visio type library.

Constant

Value

visScrollBarNeither

&H0

visScrollBarHoriz

&H1

visScrollBarVert

&H4

visScrollBarBoth

&H5