runCommand Method

Summary

Activates or runs the command assigned to the specified

commandID**.

Syntax
TypeScript
JavaScript
Cell.prototype.runCommand = function( 
   commandID 
) 
runCommand( 
   commandID: number 
): void; 

Parameters

commandID

ID of the command to run.

Remarks

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.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.Medical Assembly