Accusoft.NotateXpress13.Net
MenuGetItem Method




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.
An integer which represents the top-level menu ID of the item in the menu. For built in menus, see the TopMenuId enumeration.
Returns the text that will be displayed for the specified topMenuID and subMenuID on the menu.
Syntax
'Declaration
 
Public Function MenuGetItem( _
   ByVal menuType As MenuType, _
   ByVal tool As AnnotationTool, _
   ByVal topMenuId As Integer, _
   ByVal subMenuId As Integer _
) As String
'Usage
 
Dim instance As NotateXpress
Dim menuType As MenuType
Dim tool As AnnotationTool
Dim topMenuId As Integer
Dim subMenuId As Integer
Dim value As String
 
value = instance.MenuGetItem(menuType, tool, topMenuId, subMenuId)
public string MenuGetItem( 
   MenuType menuType,
   AnnotationTool tool,
   int topMenuId,
   int subMenuId
)
public: string* MenuGetItem( 
   MenuType menuType,
   AnnotationTool tool,
   int topMenuId,
   int subMenuId
) 
public:
String^ MenuGetItem( 
   MenuType menuType,
   AnnotationTool tool,
   int topMenuId,
   int subMenuId
) 

Parameters

menuType
A MenuType enumeration value.
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 string which represents the text displayed for this menu item.
See Also

Reference

NotateXpress Class
NotateXpress Members

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback