CommandManagerAddMacroCommand Method (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 commandName,
MacroCommandCallback macro
)
Public MustOverride Sub AddMacroCommand (
commandName As String,
macro As MacroCommandCallback
)
Parameters
- commandName
- Type: SystemString
The name of the command to display on the menu. - macro
- Type: RootPro.RootProCAD.CommandMacroCommandCallback
Method invoked when executing the macro command.
See Also