Accusoft.NotateXpress13.Net
MenuChangeItem Method




The AnnotationTool that the menu is affiliated with (For a context menu, this attribute is ignored).
An integer which represents the top-level menu ID of the item in the menu. For built in menus, see the TopMenuId enumeration.
Changes the specified menu item from the specified menu.
Syntax
'Declaration
 
Public Function MenuChangeItem( _
   ByVal menuType As MenuType, _
   ByVal tool As AnnotationTool, _
   ByVal topMenuId As Integer, _
   ByVal subMenuId As Integer, _
   ByVal menuText 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 menuType,
   AnnotationTool tool,
   int topMenuId,
   int subMenuId,
   string menuText
)
public: bool MenuChangeItem( 
   MenuType menuType,
   AnnotationTool tool,
   int topMenuId,
   int subMenuId,
   string* menuText
) 
public:
bool MenuChangeItem( 
   MenuType menuType,
   AnnotationTool tool,
   int topMenuId,
   int subMenuId,
   String^ menuText
) 

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.
See Also

Reference

NotateXpress Class
NotateXpress Members

 

 


©2018. Accusoft Corporation. All Rights Reserved.

Send Feedback