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 23.0.2024.5.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

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