Activates or runs the command assigned to the specified commandID**.
Cell.prototype.runCommand = function(
commandID
)
runCommand(
commandID: number
): void;
commandID
ID of the command to run.
There are multiple built-in action commands in the medical toolkit such as WindowLevelAction. You can create your own custom action command by inheriting the class ActionCommand.
In order to assign the command to a specified id , you need to use SetCommand.
To deactivate a command, use StopCommand.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET