JAVA Tech VERSION 3.0 Marine Radio User Manual


 
35
3535
35
setBackgroundImageEnabled(true/false)
E.g. ViewONE.setBackgroundImageEnabled(false);
This method is used to change the visibility of the COLD template image. A value of false
will remove the template from view, and a value of true will show the template.
isBackgroundImageEnabled()
E.g. var inverted = ViewONE.isBackgroundImageEnabled();
Returns a Boolean ‘True’ if the COLD template is visible
Example JavaScript for opening a document with background templates
viewONE.initializeBackgroundImageArray(3)
viewONE.setBackgroundImageArrayItem("http://...backimage1.tif" ,0);
viewONE.setBackgroundImageArrayItem("http://...backimage2.tif" ,1);
viewONE.setBackgroundImageArrayItem("http://...backimage3.tif" ,2);
viewONE.useBackgroundImageArray(1);
viewONE.initializePageArray(3);
viewONE.setPageArray("http://....page1.tiff", 0);
viewONE.setPageArray("http://....page1.tif", 1);
viewONE.setPageArray("http://....page1.tif", 2);
viewONE.setAnnotationFile("http://...annotations.ant");
viewONE.openPageArray(1); //open at page 1
Method:
(Pro-Only)
Method:
(Pro-Only)