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

    This function allows you to set a selection area on the current page.

    SetSelectionAreaCoordinates: function (docuViewareID, coords)

    Parameters

    docuViewareID
    The identifier for the DocuVieware™ instance you want to set the selection area on.
    coords
    The coordinates for the selection area you want to set in inches. It should be an object with the following structure: { left: x, top: y, width: w, height: h }

    Return Value

    1 if error, 0 if success.