The zoomLevelOR setting controls the default zoom level of a document when first opened in the OnBase Web Viewer. If no value is specified, the OnBase Web Viewer displays documents at the last zoom level at which the user viewed the document.
To configure the default zoom level:
- Locate the Web Server web.config file. In a default installation, this is located at C:/inetpub/wwwroot/AppNet.
-
Open the web.config file in a plain-text editor, such as
Notepad.
Note:
The *.config file should only be edited in a plain-text editor, such as Notepad, or a utility specifically designed to edit XML files. It should not be edited in a binary editor, such as Microsoft Word. Using a binary editor can introduce invalid characters to the file and make it unreadable by the software.
- Locate the zoomLevelOR setting under the Viewer Vars section within the <appSettings> element.
-
Modify the value attribute using one of the following
values:
Note: If no value is specified, the OnBase Web Viewer displays documents at the last zoom level at which the user viewed the document.
Value Description actualsize Sets the default zoom level to 100%. fittowindow Sets the default zoom level to Fit in Window, which scales the document to the size of the viewer. fittowidth Sets the default zoom level to Fit Width, which scales the document to fit its width in the viewer. zoomrect Scales the document to display the rectangle defined by the rectLeftOR, rectRightOR, rectTopOR, and rectBottomOR settings.
If the zoomLevelOR setting is configured to use the zoomrect value, configure the following:
- rectLeftOR: The pixel position of the left border.
- rectRightOR: The pixel position of the right border.
- rectTopOR: The pixel position of the top border.
- rectBottomOR: The pixel position of the bottom border.
- Save and close the web.config file.
- Recycle the application pool of the OnBase Web Viewer for these changes to take effect.