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

Page de 88
 
 
37
37
37
37
 
Image  
 
invert() 
 
E.g. ViewONE.invert(); 
Inverts the display colors (black changes to white and visa-versa). This method is also 
effective on images with more than two colors. A second call to this method will re-
establish the original display colors. 
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. 
 
setInverted(true/false) 
 
E.g. ViewONE.setInverted(true); 
Sets the invert of the display colors (black changes to white and visa-versa). This method 
is also effective on images with more than two colors 
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. 
 
isInverted() 
 
E.g. var inverted = ViewONE.isInverted(); 
Returns a Boolean ‘True’ if the colors are inverted, ‘False’ if they are not. 
 
setEnhance(true/false) 
 
E.g. var ViewONE.setEnhance(true); 
Specifies whether a monochrome image is displayed with anti-aliasing on or off. A value of  
‘true’(default) is on and ‘false’(default) is off. 
 
Method:
 
Method:  
 
(V3-Only)
 
Method:
 
Method: