getNumDocs()
Returns an integer that represents the total number of 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.
Sample syntax
var numdocs = ViewONE.getNumDocs()