runCommand Method

Summary

Activates or runs the command assigned to the specified

commandID**.

Syntax

JavaScript Syntax
Cell.prototype.runCommand = function( 
   commandID 
) 
TypeScript Syntax
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.Medical Assembly