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

This function allows you to remove an annotation using its identifier.

RemoveAnnotById: function (docuViewareID, annotID)

Parameters

docuViewareID
The identifier for the DocuVieware™ instance you want to remove the annotation from.
annotID
A string that represents the identifier of the annotation you want to remove.

Return Value

1 if error, 0 if success.