Accusoft.NotateXpressSdk Namespace > NotateXpress Class : MenuDeleteItem Method |
'Declaration Public Function MenuDeleteItem( _ ByVal menuType As MenuType, _ ByVal tool As AnnotationTool, _ ByVal topMenuId As Integer, _ ByVal subMenuId As Integer _ ) As Boolean
'Usage Dim instance As NotateXpress Dim menuType As MenuType Dim tool As AnnotationTool Dim topMenuId As Integer Dim subMenuId As Integer Dim value As Boolean value = instance.MenuDeleteItem(menuType, tool, topMenuId, subMenuId)
If a top-level menu item is deleted, all sub-level menu items are deleted as well.
If the TopMenuId and SubMenuId are both set to 0, then the entire menu is cleared.