JAVA Tech nologies Co. Ltd. Marine Radio VERSION 3.0 Instrukcja Użytkownika Strona 35

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 88
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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)
Przeglądanie stron 34
1 2 ... 30 31 32 33 34 35 36 37 38 39 40 ... 87 88

Komentarze do niniejszej Instrukcji

Brak uwag