Method:

Method:

(V3-Only)

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);

Method:

Method:

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.

37

Page 37
Image 37
JAVA Tech VERSION 3.0 manual Image, SetInvertedtrue/false, IsInverted, SetEnhancetrue/false