setView method

Specifies the view mode that is to be used to display the pages of a document.

Syntax

This method is effective only while a document is open.

ViewONE.setView(int view)
The following table lists the values for the view parameter.
Value Description
0 Fullpage (default): A single view of the current page is visible.
1

Twopage: Two pages are visible at the same time.

Note: This option is not available in IBM Daeja ViewONE Virtual.
2 Thumbsonly: Only a view of the thumbnails is visible.
3 Thumbsleft: A view of the current page with thumbnails on the left of the page.
4 Thumbsright: A view of the current page with thumbnails on the right of the page.
5 Thumbstop: A view of the current page with thumbnails at the top of the page.
6 Thumbsbottom: A view of the current page with thumbnails at the bottom of the page.

Example


ViewONE.setView(0);