JAVA Tech JAVA Technologies Co. Ltd. Marine Radio VERSION 3.0 Manuel D’Utilisation

Page de 88
 
 
55
55
55
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: