In This Topic
Reference Guides / JavaScript API / Annotations / SetAnnotClientTag

SetAnnotClientTag

In This Topic
 SetAnnotClientTag

This function permits to change the value of the clientTag property of a specific annotation.

Use the clientTag property to stores arbitrary public value that can be used to store optional information about the annotation. The content of this property is automatically synchronised between the client and the server.

SetAnnotClientTag: function (docuViewareID, annotId, clientTag)

Parameters

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

Return Value

1 if error, 0 if success.