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

    This function allows you to change the visibility of all annotation items.

    SetAnnotationsVisibility: function (docuViewareID, visibility)

    Parameters

    docuViewareID
    The identifier for the DocuVieware™ instance you want to change the visibility of all annotation items.
    visibility
    A string that represents the visibility of the annotation elements. Supported values are "visible" and "hidden".
             

    Return Value

    1 if error, 0 if success.