DocuVieware Reference Guide
Reference Guides > JavaScript API > Annotations > 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.

ResetAnnotToDisplayDefault: function (docuViewareID, annotTypes)


The identifier for the DocuVieware™ instance you want to reset the annotation properties from.
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.