Method:
Method:
Method:
Method:
isEnhance(true/false)
E.g. var enhance = ViewONE.isEnhance();
Returns a Boolean ‘True’ if enhance is on, ‘False’ if it is off.
setEnhanceMode(mode)
E.g. ViewONE.setEnhanceMode(1);
Specifies which
0:Off (all image formats)
1:Weighted averaging (monochrome), averaging (24 bit color)
2:Averaging (monochrome), averaging (24 bit color)
3:
Note: This method can be used to turn on/off
getEnhanceMode()
E.g. var state = ViewONE.getEnhanceMode();
Returns the current enhance state.
setRotation(angle)
E.g. ViewONE.setRotation(90);
Specifies the angle at which pages are displayed. Values of 90, 180, or 270 are accepted. The default is 0.
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.
38