firstDoc()

Opens the first document in the series of multiple documents that are loaded into the viewer.

This method applies only when multiple documents are loaded into the viewer by using the doc<N> HTML parameter, or the JavaScript equivalent.

Calling this method is the JavaScript equivalent of clicking the First Document button on the toolbar when multiple documents are loaded in the viewer.

Sample syntax

ViewONE.firstDoc()