Changes the specified menu item from the specified menu.
Parameters
- menuType
- The MenuType enumeration which contains the item to change.
- tool
- The AnnotationTool that the menu is affiliated with (For a context menu, this attribute is ignored).
- topMenuId
- An integer which represents the top-level menu ID of the item in the menu. For built in menus, see the TopMenuId enumeration.
- subMenuId
- An integer which represents the item in the menu (subMenuId is 0 when the item is a top menu item). For built in menus, see the SubMenuId enumeration.
- menuText
- A string which represents the text to display for this menu item.
Return Value
A boolean value which is true if the menu item text changed. Otherwise, false is returned.