Accusoft NotateXpress 13
MenuGetFirstItemID Method
These options are from the NX_AnnotationTool enumeration.
The address of a long to receive the top level menu ID for this menu item. 
Description
Gets the first set of menu ID's on the specified level for the specified menu.
Syntax
Visual Basic
Public Sub MenuGetFirstItemID( _
   ByVal Menu As NX_MenuType, _
   ByVal Tool As NX_AnnotationTool, _
   ByRef TopMenuID As Long, _
   ByRef SubMenuID As Long _
) 
Parameters
Menu
ValueDescription
NX_Menu_ContextThe right click menu for an element.
NX_Menu_ToolbarThe right click menu for each tool on the toolbar.
Tool
ValueDescription
NX_BlockHighlightTool(&H100C) - BlockHighlight tool.
NX_ButtonTool(&H100A) - Button tool.
NX_EllipseTool(&H1003) - Ellipse tool.
NX_FreehandTool(&H1007) - Freehand Tool.
NX_ImageTool(&H1009) - Image tool.
NX_LineTool(&H1006) - Line Tool.
NX_NoteTool(&H100D) - Note tool.
NX_NoTool(&H0000) - Disables annotation.
NX_PointerTool(&H1000) - Selection tool.
NX_PolygonTool(&H1004) - Polygon Tool.
NX_PolyLineTool(&H1005) - PolyLine Tool.
NX_ProtractorToolProtractor
NX_RectangleTool(&H1002) - Rectangle tool.
NX_RulerTool(&H100B) - Ruler tool.
NX_StampTool(&H1008) - Stamp tool.
NX_TextTool(&H1001) - Text tool.
These options are from the NX_AnnotationTool enumeration.
TopMenuID
The address of a long to receive the top level menu ID for this menu item. 
SubMenuID
The address of a long to receive the sub level menu ID for this menu item. 
Return Type
The ID of the first menu.
See Also

NotateXpress Object  | NotateXpress Members  | Context Menus

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback