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

Page de 88
 
 
45
45
45
45
 
getBrightness() 
 
E.g. var percent = ViewONE.getBrighness(); 
 
Returns the current brightness percentage setting (0-100). 
 
setContrast(percent) 
 
E.g. ViewONE.setContrast(40); 
 
This method sets the contrast of the image displayed. The value represents a percentage 
from 0-100, with 50 being the default value. 0 = minimum contrast (flat) and 100 = 
maximum brightness (not flat!). 
If the document is closed when this method is called, the default for all pages is modified. If 
the document is open when this method is called, the individual page is modified only. 
 
resetContrast() 
 
E.g. ViewONE.resetContrast (); 
 
This method resets the contrast level to 50% (the default value). 
If the document is closed when this method is called, the default for all pages is modified. If 
the document is open when this method is called, the individual page is modified only. 
 
getContrast() 
 
E.g. var percent = ViewONE.getContrast(); 
 
Returns the current contrast percentage setting (0-100). 
 
Method:
 
Method:
 
Method:
 
Method: