Reference Guide
Reference Guides / JavaScript API / Actions / Operations / GetDisplayedArea
In This Topic
    GetDisplayedArea
    In This Topic
     GetDisplayedArea

    This function allows you to retrieve the current page displayed area coordinates.

    GetDisplayedArea: function (docuViewareID)

    Parameters

    docuViewareID
    The identifier for the DocuVieware™ instance you want to retrieve the current page displayed area from.

    Return Value

    Coordinates, in inches, of the selection area under the following form: { left: x, top: y, width: w, height: h }, values will be 0 if no area selected.