Position property

Microsoft Visio Developer Reference

Position property

       

Gets or sets the position of an object.

Version added

2000

Syntax

intRet = object.Position
object.Position = intExpression

intRet

Integer. The object's position.

object

Required. An expression that returns a MenuSet or Toolbar object.

intExpression

Required Integer. The object's new position.

Remarks

Constants representing possible Position property values are listed below. They are also declared by the Visio type library in VisUIBarPosition.

Constant

Value

visBarLeft

0

visBarTop

1

visBarRight

2

visBarBottom

3

visBarFloating

4

visBarPopup

5

visBarMenu

6