getCommand Method

Summary

Returns the command with the id value

commandID**.

Syntax
TypeScript
JavaScript
Cell.prototype.getCommand = function( 
   commandID 
) 
getCommand( 
   commandID: number 
): any; 

Parameters

commandID

id of the command.

Return Value

Object that represents the command with the id value commandID.

Remarks

The id is assigned to a specific command when it is first set using SetCommand.

In order to activate the action, you need to assign it using SetCommand, then run the command using RunCommand.

Requirements
Target Platforms
Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.Medical Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.