BuiltInMenus property

BuiltInMenus property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

See also         Example         Applies to

Returns a UIObject object that represents a copy of the built-in Microsoft Visio menus and accelerators.

Version added

4.0

Syntax

        
          objRet = object.BuiltInMenus
      

objRet

A UIObject object that represents the built-in Visio menus and accelerators.

object

Required. An expression that returns an Application object.

Remarks

You can use the BuiltInMenus property to obtain a UIObject object and modify its menus and accelerators. You can then use the SetCustomMenus method of an Application or Document object to substitute your customized menus and accelerators for the built-in Visio menus and accelerators.

You can also use the SaveToFile method of the UIObject object to store its menus in a file and reload them as custom menus by setting the CustomMenusFile property of an Application or Document object.