stopCommand Method

Summary

De-activates the command assigned to the specified

commandID**.

Syntax

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

Parameters

commandID

ID of the command to de-activate.

Remarks

There are multiple built-in action commands in the medical toolkit like 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.

In order to activate the action, you need to assign it using RunCommand.

Requirements

Target Platforms

Help Version 19.0.2017.10.18
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.Medical Assembly