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

    This function allows you to retrieve the current selected text areas.

    GetSelectedTextAreas: function (docuViewareID)

    Parameters

    docuViewareID
    The identifier for the DocuVieware™ instance you want to retrieve the selected text from.

    Return Value

    1 if error, an array of objects with the following prototype specifying the text elements in case of success.
         [
          {
            pageNo: int,
            coordinates: {
                height: float,
                left: float,
                top: float,
                width: float
            }
          }
         ]