JAVA Tech VERSION 3.0 Marine Radio User Manual


 
47
4747
47
getImageHeight()
E.g. var height = ViewONE.getImageHeight();
Returns an integer value representing the height of the currently displayed image in image
pixels.
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.
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.
Method:
Method: