Share via


ToolbarSet.SetID Property

Visio Automation Reference

Returns the set ID of an ToolbarSet object in its collection. Read-only.

Version Information
 Version Added:  Visio 4.0

Syntax

expression.SetID

expression   A variable that represents a ToolbarSet object.

Return Value
Long

Remarks

Each ToolbarSet object has a set ID that corresponds to a Microsoft Office Visio window context. For ToolbarSet objects, they also correspond to drop-down menus under toolbar buttons (such as Fill Color or Line Weight).

You can retrieve an object from its collection by passing the object's set ID to the ItemAtID property. You can also set the set ID of an object by using the AddAtID method.

Valid set ID values are declared by the Visio type library in VisUIObjSets.

See Also