次の方法で共有


ToolbarItems.AddAt Method

Visio Automation Reference

Creates a new ToolbarItem object at a specified index in the ToolbarItems collection. .

Version Information
 Version Added:  Visio 4.0

Syntax

expression.AddAt(lIndex)

expression   A variable that represents a ToolbarItems object.

Parameters

Name Required/Optional Data Type Description
lIndex Required Long The index at which to add the object.

Return Value
ToolbarItem

Remarks

If the index is zero (0), the object is added at the beginning of the collection.

The beginning of a ToolbarItems collection is the leftmost item in a toolbar that is arranged horizontally.

See Also