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

    This function allows you to make sure an annotation is selected, using its identifier.

    Calling this method will automatically select the corresponding page.

    SelectAnnot: function (docuViewareID, annotID, ensureVisibility)


    The identifier for the DocuVieware™ instance you want to select the specified annotation item.
    A string that represents the identifier of then annotation you want to ensure visibility of.
    An optional boolean specifying if the annotation must be visible within the viewer, scrolling the contents of the control if necessary.

    Return Value

    1 if error, 0 if success.