setView(int view)

Specifies the view mode that is to be used to display the pages of a document. This method is effective only while a document is open.

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 Reserved
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.

Sample syntax

ViewONE.setView(0);