Method:

Method:

setPrintMenus(true/false)

E.g. ViewONE.setPrintMenus(true);

Specifies whether the print pop-up menus are available (using mouse button 2/3). A value of ‘true’ (default) indicates the menus are available and ‘false’ indicates they are not.

The menu is as follows:

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

isPrintMenus()

E.g. var menusEnabled = ViewONE.isPrintMenus();

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

71

Page 71
Image 71
JAVA Tech VERSION 3.0 manual SetPrintMenustrue/false, IsPrintMenus, ViewONE.setPrintMenustrue