JAVA Tech VERSION 3.0 Marine Radio User Manual


 
55
5555
55
Selection and clipboard
selectPage(int pageNumber)
E.g. ViewONE.selectPage(4);
Toggles the select property on the page in a document indicated by the “pageNumber”
parameter (available for multi-page documents only).
clearSelections()
E.g. ViewONE.clearSelections();
Clears all page selections in the document (available for multi-page documents only).
copyPageToClipboard()
E.g. ViewONE.copyPageToClipboard();
Produces a print dialog to allow the user to print the current page.
Security note: This method is disabled by default unless the
“JavascriptExtensions” parameter is set to “true”.
getSelection()
E.g. selection = ViewONE.getSelection();
This method returns a comma-delimited string containing any pages selected by the user.
Method:
Method:
Method:
Method: