ToolbarItem Object

Visio Automation Reference

Represents one item in a Toolbar object. A ToolbarItem object can represent a button, combo box, or any other item on the Microsoft Office Visio toolbars.

Version Information
 Version Added:  Visio 4.0

Remarks

The index of the ToolbarItem object within the ToolbarItems collection corresponds to its position on the toolbar, starting with zero (0) for the item farthest to the left if the toolbars are arranged horizontally.

Beginning with Microsoft Visio 2002, use the BeginGroup property to create spaces on a toolbar.

See Also