BuiltInToolbars property
Returns a UIObject object that represents a copy of the built-in Microsoft Visio toolbars.
Version added
4.0
Syntax
| |
objRet |
A UIObject object that represents the built-in Visio toolbars. |
object |
Required. An expression that returns an Application object. |
Remarks
You can use the BuiltInToolbars property to obtain a UIObject object and modify its toolbars. You can then use the SetCustomToolbars method of an Application or Document object to substitute your customized toolbars for the built-in Visio toolbars.
You can also use the SaveToFile method of the UIObject object to store its toolbars in a file and reload them as custom toolbars by setting the CustomToolbarsFile property of an Application or Document object.
Prior to Visio 5.0, the argument for this property (fWhichToolbars) designated which type of toolbar to get (MSOffice or LotusSS). Beginning with Visio 5.0, the application no longer supports different types of toolbars and this argument is ignored.