Reference Guide
Reference Guides / JavaScript API / Actions / Document / GetPageHeight
In This Topic
    GetPageHeight
    In This Topic
     GetPageHeight

    This function returns a page height, in inches, of the page with the specified page number of the currently loaded document in the specified DocuVieware™ viewer.

    GetPageHeight: function (docuViewareID, pageNo)

    Parameters

    docuViewareID
    The identifier for the DocuVieware™ instance.
    pageNo
    The page number for which you want to retrieve the page height.

    Return Value

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