Method Group:
initializePageAndThumbsArray(numPages) setPageArray(filename, page) setThumbsArray(filename, page) openPageArray(page)
E.g.
ViewONE.initializePageAndThumbsArray(3);
ViewONE.setPageArray(“page1.tif”, 0);
ViewONE.setPageArray(“page2.tif”, 1);
ViewONE.setPageArray(“page3.tif”, 2);
ViewONE.openPageArray(1);
These methods are similar to the previous. They specify the number files (pages) in a list, and then specify a separate file for each page and a thumbnail file for that page. The final method then opens the “assembled” document at page 1. Note, the page array begins at array element zero.
In some instances, it may be advantageous to have separate files for the thumbnails to assist in browsing of thumbnails (smaller files are quicker to download and view).
Initializing the page anf thumb arrays causes a ‘soft’ close to be performed, i.e. the current document is closed and the annotation source, templates and background images are reset if a document is currently open. If no document is currently open, then the close and reset is not performed.
21