Error processing SSI file
LEADTOOLS JavaScript (Leadtools.Controls)

IsKeyboardEnabled Property (ImageViewerPanZoomInteractiveMode)

Show in webframe
Indicates whether to enable panning and zoomming with the keyboard.
Syntax
get_isKeyboardEnabled();
set_isKeyboardEnabled(value);
Object.defineProperty('isKeyboardEnabled');

Property Value

TypeDescription
booleantrue to enable panning and zoomming with the keyboard, otherwise; false. Default value is true.
Remarks

This value is used only when the platform has keyboard support.

When the value of IsKeyboardEnabled is true, then the viewer will pan and zoom using the following keys:

Key Description
Up

If the ZoomKeyModifier is pressed, zooms the viewer in.

Otherwise, pans the viewer one line up (or one page if PageKeyModifier is pressed).

Down If the ZoomKeyModifier is pressed, zooms the viewer out. Otherwise, pans the viewer one line down (or one page if PageKeyModifier is pressed).
Left

Pans the viewer one line to the left (or one page if PageKeyModifier is pressed).

Right

Pans the viewer one line to the right (or one page if PageKeyModifier is pressed).

PageUp

Pans the viewer one page up.

PageDown

Pans the viewer one page down.

Home

Pans the viewer to the minimum allowed value (top-left).

End

Pans the viewer to the maximum allowed value (bottom-right).

The values of a "page" is calculated as follows:

If the viewer has more than one item, then "page" is the width or height of the current largest visible item (GetLargestVisibleItem.

If the viewer has one item, then "page" is the current view area width or height ViewBounds.

The value of "line" is always tenth of "page".

See Also

Reference

ImageViewerPanZoomInteractiveMode Object
ImageViewerPanZoomInteractiveMode Members

Error processing SSI file