Method: getBrightness()
E.g. var percent = ViewONE.getBrighness();
Returns the current brightness percentage setting
Method: setContrast(percent)
E.g. ViewONE.setContrast(40);
This method sets the contrast of the image displayed. The value represents a percentage from
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.
Method: 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.
Method: getContrast()
E.g. var percent = ViewONE.getContrast();
Returns the current contrast percentage setting
45