Method:

Method:

setImageKeys(true/false)

E.g. ViewONE.setImageKeys(true);

Specifies whether the hot keys for image operations are enabled. A value of ‘true’ (default) indicates the keys are enabled and ‘false’ indicates they are not.

The keys are as follows:

 

Fit to window width

F9

Fit to window height

F10

Fit to window

F11

Zoom in

Add

Zoom out

Subtract

Magnifier

M

Zoom to 100%

Z

Zoom area

A

Rotate clockwise

R

Rotate counterclockwise

L

Enhance

E

Invert

I

isImageKeys()

E.g. var keysEnabled = ViewONE.isImageKeys ();

Returns a Boolean value of ‘true’ if the keys are enabled else a value ‘false’ is returned.

76

Page 76
Image 76
JAVA Tech VERSION 3.0 manual SetImageKeystrue/false, IsImageKeys