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

    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)


    The identifier for the DocuVieware™ instance.
    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.