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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 88
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 25
26
2626
26
Specifying an Annotations File
setAnnotationFile(filename)
E.g. ViewONE.setAnnotationFile(“http://mysite/myannotations.ant”);
This method sets the annotation file and must be called before
any of the open methods
described above.
If the current document is closed after this method has been called, the annotation file will
be reset. To avoid this, close the current document before setting the annotation file, as
closing of the current document can be a side effect of calling other JavaScript methods,
for example, ‘initializePageArray’.
e.g.
viewONE.setAnnotationFile("http://...annotations.ant");
viewONE.openFile(“http://...mydocument.tif”, 1);
or
viewONE.closeDocument();
viewONE.setAnnotationFile("http://...annotations.ant");
viewONE.initializePageArray(2);
viewONE.setPageArray("http://....page1.tiff", 0);
viewONE.setPageArray("http://....page2.tif", 1);
viewONE.openPageArray(1);
Method:
Przeglądanie stron 25
1 2 ... 21 22 23 24 25 26 27 28 29 30 31 ... 87 88

Komentarze do niniejszej Instrukcji

Brak uwag