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

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

    GetPageWidth: function (docuViewareID, pageNo)

    Parameters

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

    Return Value

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