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

    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)

    Parameters

    docuViewareID
    The identifier for the DocuVieware™ instance you want to reset the search text parameters from.
    annotID
    A string that represent the identifier of then annotation you want to ensure visibility of.
    select
    An optional boolean to specify if the annotation should be selected or not.

    Return Value

    1 if error, 0 if success.