CADability dotNET
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)
Inserts a single menu item into an existing menu.
Namespace: CADability.UserInterfaceAssembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)
Syntax
C# |
---|
public static void InsertMenuItem( Menu toModify, string menuId, int imageIndex, string insertAfter ) |
Visual Basic |
---|
Public Shared Sub InsertMenuItem ( _ toModify As Menu, _ menuId As String, _ imageIndex As Integer, _ insertAfter As String _ ) |
Visual C++ |
---|
public: static void InsertMenuItem( Menu^ toModify, String^ menuId, int imageIndex, String^ insertAfter ) |
Parameters
- toModify
- Type: System.Windows.Forms..::..Menu
Menu to modify
- menuId
- Type: System..::..String
ID of the new menu item
- imageIndex
- Type: System..::..Int32
Image index of the new menu item
- insertAfter
- Type: System..::..String
ID of the menu to preceeding menu