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

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

    When disabled the user interface is not allowing annotation selecting, moving, editing and resizing.

    SetAnnotationsInteractionState: function (docuViewareID, enabled)

    Parameters

    docuViewareID
    The identifier for the DocuVieware™ instance you want to change the annotations interaction state.
    enabled
    A boolean specifying whether annotations interaction is enabled or not.
             

    Return Value

    1 if error, 0 if success.