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

    This function allows you to reset the annotation auto create property (when the "Do not show again" option has been checked on the annotation properties dialog) for one or more annotation types.

    ResetAnnotAutoCreateProperty: function (docuViewareID, annotTypes)

    Parameters

    docuViewareID
    The identifier for the DocuVieware™ instance you want to reset the annotation auto create property from.
    annotTypes
    An array of integers representing the annotation types you want to reset the annotation auto create property for.
    The values have to be members of the GdPictureAnnotationType enumeration.

    If the array is sent empty, all the annotation types will be reset.

    Return Value

    1 if error, 0 if success.