getImageHeight()

E.g. var height = ViewONE.getImageHeight();

Returns an integer value representing the height of the currently displayed image in image pixels.

Method: getXResolution()

E.g. var xRes = ViewONE.getXResolution();

Returns an integer value representing the x-axis resolution of the currently displayed image in dots per inch.

The value is obtained from the image’s header information, so if the information is missing or corrupt the returned value will make no sense.

Method: getYResolution()

E.g. var yRes = ViewONE.getYResolution();

Returns an integer value representing the y-axis resolution of the currently displayed image in dots per image.

The value is obtained from the image’s header information, so if the information is missing or corrupt the returned value will make no sense.

47

Page 47
Image 47
JAVA Tech VERSION 3.0 manual GetImageHeight, Method getXResolution, Method getYResolution