Accusoft.NotateXpressSdk Namespace > NotateXpress Class : MenuAddItem Method |
'Declaration Public Sub MenuAddItem( _ ByVal menuType As MenuType, _ ByVal tool As AnnotationTool, _ ByVal topMenuId As Integer, _ ByVal subMenuId As Integer, _ ByVal menuText As String, _ ByVal user1 As Integer, _ ByVal user2 As Integer _ )
'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 user1 As Integer Dim user2 As Integer instance.MenuAddItem(menuType, tool, topMenuId, subMenuId, menuText, user1, user2)
public void MenuAddItem( MenuType menuType, AnnotationTool tool, int topMenuId, int subMenuId, string menuText, int user1, int user2 )
This method lets you add new items to the Context Menu and receive event notifications when these items are selected.
See the TopMenuId and the SubMenuId enumerations for a list of predefined data.