Accusoft.NotateXpress12.Net
MenuDeleteItem Method
See Also  Send Feedback
Accusoft.NotateXpressSdk Namespace > NotateXpress Class : MenuDeleteItem Method




tool
If the menuType is Toolbar, then the Tool parameter is the Tool that the menu is associated with. An annotationTOOL enumeration. If the menuType is Context, the Tool parameter has no meaning and can be any value.
topMenuId
An integer which represents the top-level menu ID of the item in the menu. For built in menus, see the TopMenuId enumeration.

Glossary Item Box

Removes the specified item from the specified menu.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

menuType
The MenuType enumeration to remove from.
tool
If the menuType is Toolbar, then the Tool parameter is the Tool that the menu is associated with. An annotationTOOL enumeration. If the menuType is Context, the Tool parameter has no meaning and can be any value.
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.

Return Value

A boolean value which is true if the specified item is removed from the given menu.

Remarks

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.

See Also

©2013. Accusoft Corporation. All Rights Reserved.