Reference Guide
Reference Guides / JavaScript API / Annotations / GetAnnotBBoxOnViewer
In This Topic
    In This Topic

    This function allows you to obtain the bounding box coordinates of a specific annotation into the viewer area .

    GetAnnotBBoxOnViewer: function (docuViewareID, annotID)


    The identifier of a DocuVieware™ instance.
    A string that represents the identifier of then annotation you want to obtain the BBox coordinates of.                

    Return Value

    1 if error, if success: coordinates, in pixels, of the annotation bounding box area under the following form: { left: x, top: y, width: w, height: h }.