Accusoft.NotateXpress13.Net
MenuGetNextItemId 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.
Gets the subsequent menu ID on the specified level from the specified menu after calling MenuGetFirstItemId.
Syntax
'Declaration
 
Public Sub MenuGetNextItemId( _
   ByVal menuType As MenuType, _
   ByVal tool As AnnotationTool, _
   ByRef topMenuId As Integer, _
   ByRef subMenuId As Integer _
) 
'Usage
 
Dim instance As NotateXpress
Dim menuType As MenuType
Dim tool As AnnotationTool
Dim topMenuId As Integer
Dim subMenuId As Integer
 
instance.MenuGetNextItemId(menuType, tool, topMenuId, subMenuId)
public void MenuGetNextItemId( 
   MenuType menuType,
   AnnotationTool tool,
   out int topMenuId,
   out int subMenuId
)
public: void MenuGetNextItemId( 
   MenuType menuType,
   AnnotationTool tool,
   [PARAMFLAG::Out] int topMenuId,
   [PARAMFLAG::Out] int subMenuId
) 
public:
void MenuGetNextItemId( 
   MenuType menuType,
   AnnotationTool tool,
   [Out] int topMenuId,
   [Out] 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.
Remarks
Make a call to MenuGetFirstItemId to start the process.
See Also

Reference

NotateXpress Class
NotateXpress Members
MenuGetFirstItemId Method

 

 


©2018. Accusoft Corporation. All Rights Reserved.

Send Feedback