Accusoft.ImagXpress13.Net
GetFirstItemId Method




A Tool enumeration value which represents the tool associated with the menu item.
An integer value which represents the top-level menu ID of the first item in the menu. A returned value of 0 indicates there are no menu items.
Gets the topMenuId and subMenuId of the first item in the menu associated with the specified tool.
Syntax
'Declaration
 
Public Sub GetFirstItemId( _
   ByVal tool As Tool, _
   ByRef topMenuId As Integer, _
   ByRef subMenuId As Integer _
) 
'Usage
 
Dim instance As ToolbarContextMenu
Dim tool As Tool
Dim topMenuId As Integer
Dim subMenuId As Integer
 
instance.GetFirstItemId(tool, topMenuId, subMenuId)
public void GetFirstItemId( 
   Tool tool,
   out int topMenuId,
   out int subMenuId
)
public: void GetFirstItemId( 
   Tool tool,
   [PARAMFLAG::Out] int topMenuId,
   [PARAMFLAG::Out] int subMenuId
) 
public:
void GetFirstItemId( 
   Tool tool,
   [Out] int topMenuId,
   [Out] int subMenuId
) 

Parameters

tool
A Tool enumeration value which represents the tool associated with the menu item.
topMenuId
An integer value which represents the top-level menu ID of the first item in the menu. A returned value of 0 indicates there are no menu items.
subMenuId
An integer value which represents the sub-level menu ID of the first item in the menu.
Remarks

Use this method and the GetNextItemId method to iterate through the available menu items.

See Also

Reference

ToolbarContextMenu Class
ToolbarContextMenu Members

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback