Executes the specified command's action.
Defined As
Parameters
commandId
[in]
The unique ID
of the command whose action is to be executed.
Execution Result
If this method succeeds, the return value will be Success. If the command is invalid, the return value will be InvalidArgument.
Remarks
If the current Operator does not have the correct privilege, the command will not execute.
Calling Syntax
This example assumes there is a valid CommandSystem object as retrieved from a Process Analyst. (for example, VBA: ProcessAnalyst.CommandSystem).
[VBA]
Sub Example(CommandSystem As Object)
CommandSystem.Execute(Citect_Command_AddPen)
End Sub
[Cicode]
FUNCTION Example(OBJECT hCommandSystem)
_ObjectCallMethod(hCommandSystem, "Execute", Citect_Command_AddPen);
END