ToolbarSets collection

Microsoft Visio Developer Reference

ToolbarSets collection

           Events

UIObject ToolbarSets (ToolbarSet) Toolbars (Toolbar)

Includes a ToolbarSet object for each window context that can display toolbars.

Version added

4.0

Remarks

To retrieve a ToolbarSets collection, use the ToolbarSets property of a UIObject object.

The default property of ToolbarSets is Item.

Unlike other Visio collections, the ToolbarSets collection is indexed starting with zero (0) rather than 1.

A ToolbarSet object is identified in the ToolbarSets collection by its SetID property, which corresponds to a Visio window context. For a list if SetID values for ToolbarSet objects, see the SetID property.