Method:

Method: (V3-Only)

Method:

isMagnifier()

E.g. var magVisible = ViewONE.isMagnifier();

Returns a Boolean value indicating the magnifier visibility status.

toggleMagnifier()

E.g. ViewONE.toggleMagnifier();

Toggles the magnifier on/off.

setMagFactor()

E.g. ViewONE.setMagFactor(int factor);

Sets the current integer magnification factor (for magnifier window)

Method: getMagFactor()

E.g. var factor = ViewONE.getMagFactor();

Returns the current integer magnification factor (for magnifier window)

Method: setMagBounds(int x, int y, int width, int height)

E.g. ViewONE.setMagBounds(10, 10, 300, 300);

Sets the external magnifier’s window position and size.

Method: setNewWindowVisible(true/false)

E.g. ViewONE.setNewWindowVisible(true);

Specifies whether to make the ViewONE new window visible. A value of ‘true’ makes the window visible and ‘false’ (default) makes it invisible.

51

Page 51
Image 51
JAVA Tech VERSION 3.0 manual IsMagnifier, ToggleMagnifier, SetMagFactor, Method getMagFactor