Accusoft.ImagXpressSdk Namespace > ToolbarContextMenu Class : AddItem Method |
This method adds a new menu item to the specified menu. If the Menu is Toolbar, ten the Tool parameter is the Tool ID that the menu is associated with.
If the Menu is Context, the Tool parameter has no meaning and can be any value.
If the menu item is to be a top-level menu item, then the subMenuId should be 0. A subMenuID menu item can only be added when a topMenuId has been added with a previous subMenuId set to 0.