Reference Guide
Reference Guides / JavaScript API / Annotations / ResetAnnotPropertiesToDisplayDefault
In This Topic
    ResetAnnotPropertiesToDisplayDefault
    In This Topic
     ResetAnnotToDisplayDefault

    This function allows you to reset the annotation properties to display the default values (i.e. all available properties) for one or more annotation types.

    ResetAnnotPropertiesToDisplayDefault: function (docuViewareID, annotTypes)

    Parameters

    docuViewareID
    The identifier for the DocuVieware™ instance you want to reset the annotation properties from.
    annotTypes
    An array of integers representing the annotation types you want to reset the properties to display 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.