JAVA Tech nologies Co. Ltd. Marine Radio VERSION 3.0 Uživatelský manuál Strana 35

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 88
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 34
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)
Zobrazit stránku 34
1 2 ... 30 31 32 33 34 35 36 37 38 39 40 ... 87 88

Komentáře k této Příručce

Žádné komentáře