Click or drag to resize

CommandManager.AddMacroCommand Method (String[], String, MacroCommandCallback)

Add a macro command.

Namespace:  RootPro.RootProCAD.Command
Assembly:  RootPro.RootProCAD.Library (in RootPro.RootProCAD.Library.dll) Version: 12.0.0.0 (12.0.0.0)
Syntax
public abstract void AddMacroCommand(
	string[] parentMenus,
	string commandName,
	MacroCommandCallback macro
)

Parameters

parentMenus
Type:System.String[]
The parent menu name of the macro command.
commandName
Type: System.String
The name of the command to display on the menu.
macro
Type: RootPro.RootProCAD.Command.MacroCommandCallback
Method invoked when executing the macro command.
See Also