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

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

    Calling this method will automatically select the corresponding page and display the part where the annotation is visible.

    EnsureAnnotVisibility: function (docuViewareID, annotID, select)


    The identifier for the DocuVieware™ instance you want to ensure the visibility of the specified annotation item.
    A string that represents the identifier of then annotation you want to ensure visibility of.
    An optional boolean to specify if the annotation should be selected or not.

    Return Value

    1 if error, 0 if success.