DocuVieware Reference Guide
ResetAnnotToDefault
Reference Guides > JavaScript API > Annotations > ResetAnnotToDefault
 ResetAnnotToDefault

This function allows you to reset the annotation properties to the default values for one or more annotation types.

ResetAnnotToDefault: 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 annotation properties 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.