Method: setImageButtons(true/false)

E.g. ViewONE.setImageButtons(true);

Specifies whether the toolbar includes image buttons. A value of ‘true’ (default) indicates the buttons are visible and ‘false’ indicates they are not.

The image buttons are:

Zoom area, Zoom in, Zoom out, Fit to width, Fit to height, Best fit, Rotate clockwise, Rotate counterclockwise, Rotate 180.

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

Method:

Method:

isImageButtons()

E.g. var buttonsVisible = ViewONE.isImageButtons();

Returns a Boolean value of ‘true’ if the image buttons are visible else a value ‘false’ is returned.

setPrintButtons(true/false)

E.g. ViewONE.setPrintButtons(true);

Specifies whether the toolbar includes a print button. A value of ‘true’ (default) indicates the button is visible and ‘false’ indicates it is not.

The print button is:

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

63

Page 63
Image 63
JAVA Tech VERSION 3.0 manual Method setImageButtonstrue/false, IsImageButtons, SetPrintButtonstrue/false