DocuVieware Reference Guide
GetCurrentPage
Reference Guides > JavaScript API > Actions > Document > GetCurrentPage
 GetCurrentPage

This function retrieves the current displayed page for the currently loaded document into the specified DocuVieware™ viewer.

GetCurrentPage: function (docuViewareID)

Parameters

docuViewareID
The identifier for the DocuVieware™ instance.

Return Value

0 if error (for instance if there is no document loaded), the current document page otherwise.