PrizmDoc Viewer v13.11 Release - Updated
Define the View Mode
Developer Guide > Viewer > Configure the Viewer > Configuration Options > Define the View Mode

The ViewMode enumeration defines view modes known by PCCViewer.ViewerControl. The ViewerControl uses a specified view mode to set or update how documents that contain different sized pages are displayed in the Viewer. This enumeration is a convenience for API developers. Instead of using it, you can pass in the string values of the view mode (enumeration values) directly to the API.

There are three view modes available:

To set the ViewMode:

Example
Copy Code
// use the enumeration
myViewerControl.setViewMode(PCCViewer.ViewMode.SinglePage);
// or just use the string value
myViewerControl.setViewMode("SinglePage");