Changes the specified menu item from the specified menu.
'Declaration
Public Function MenuChangeItem( _
ByVal As MenuType, _
ByVal As AnnotationTool, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As String _
) As Boolean
'Usage
Dim instance As NotateXpress
Dim menuType As MenuType
Dim tool As AnnotationTool
Dim topMenuId As Integer
Dim subMenuId As Integer
Dim menuText As String
Dim value As Boolean
value = instance.MenuChangeItem(menuType, tool, topMenuId, subMenuId, menuText)
public bool MenuChangeItem(
MenuType ,
AnnotationTool ,
int ,
int ,
string
)
public: bool MenuChangeItem(
MenuType ,
AnnotationTool ,
int ,
int ,
string*
)
public:
bool MenuChangeItem(
MenuType ,
AnnotationTool ,
int ,
int ,
String^
)
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.