SetKeyboardAction Method (ILEADScaleAction)

Visual Basic example

Visual C++ example

 

Syntax

short SetKeyboardAction(MouseDirectionConstants Direction);

Overview

Refer to Using the Image Viewer

Remarks

(Medical Imaging Suite) Assigns a keystroke (Key and Modifier properties) to the action and a particular mouse movement.

The action must be activated inside a container before applying this method by calling ActivateAction method.

If this action is set to a keystroke combination that is already used by another action within the container this action will overwrite the old one. For example, if you set a keystroke combination for an owner action object in the container, and then set the same keystroke combination for a scale action object in the same container, the keystroke combination will cause a scale action within the container.

See Also

Elements:

Cursor Property, Change Property, CircularMouseMove Property, Use Property, SetMouseButtonAction Method, ActivateAction Method, Key Property, Modifier Property, SetAction Method, GetAction Method, GetKeyboardAction Method, ScaleFactor property.

Topics:

Image Viewer: Scale Action