Reference Guide
Reference Guides / JavaScript API / Actions / Document / GetCurrentPage
In This Topic
    GetCurrentPage
    In This Topic
     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.