Accusoft.ImagXpress12.Net
AddItem Method
See Also  Send Feedback
Accusoft.ImagXpressSdk Namespace > ToolbarContextMenu Class : AddItem Method




tool
The Tool enumeration value which represents the tool which the menu is associated.
topMenuId
An integer value which represents the top menu ID.
user1
An integer value which represents a user defined field.
user2
An integer value which represents a user defined field.

Glossary Item Box

Adds an item to the specified menu.

Syntax

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

Parameters

tool
The Tool enumeration value which represents the tool which the menu is associated.
topMenuId
An integer value which represents the top menu ID.
subMenuId
An intger value which represents the sub menu ID.
menuText
A string value which represents the menu text.
user1
An integer value which represents a user defined field.
user2
An integer value which represents a user defined field.

Remarks

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.

See Also

©2013. Accusoft Corporation. All Rights Reserved.