JAVA Tech VERSION 3.0 Manuel D’Utilisation

Page de 88
 
 
42
42
42
42
setStates(string states) 
 
E.g. ViewONE.setStates(states); 
 
Sets the zoom, scroll and other states to the values specified by the coded string.  This 
method should be called before opening a document. 
The getStates() and setStates() methods together permit the viewing states to be restored 
when a document is closed and re-opened. 
 
zoomIn() 
 
E.g. ViewONE.zoomIn(); 
 
Applies a 25% increase in zoom. Note, at first ViewONE will attempt to use the scale 
modes (fit-to-width, fit-to-height and best-fit) if they are more appropriate. The zoomIn() 
function will increase the zoom factor only after the scale modes are no longer suitable. 
 
zoomOut() 
 
E.g. ViewONE.zoomOut(); 
 
Reverses the effect of zoomIn(). 
 
zoom100() 
 
E.g. ViewONE.zoom100(); 
 
Zooms image to 100% (full resolution). 
Method:
 
Method:
 
Method:
 
Method: