Method:

Method:

Method:

setPrintKeys(true/false)

E.g. ViewONE.setPrintKeys(true);

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

The keys are as follows:

 

Print page

P

Print document

Shift-P

Print page range

Ctrl-P

Print selected pages

Ctrl-Shift-P

Security note: This method is disabled by default unless the “JavascriptExtensions” parameter is set to “true”.

isPrintKeys()

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

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

setViewKeys(true/false)

E.g. ViewONE.setViewKeys(true);

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

The keys are as follows:

 

View page

F2

View thumbnails

F3

View two page

F4

View thumbnails: Left

F5

View thumbnails: Bottom

F6

View thumbnails: Right

F7

View thumbnails: Top

F8

77

Page 77
Image 77
JAVA Tech VERSION 3.0 manual SetPrintKeystrue/false, IsPrintKeys, SetViewKeystrue/false