Const
Set the value of an annotation in a Dictionary.
Can also be used within Obj.update callback:
Obj.update(obj, (obj) => { Annotation.setDictionary(obj.annotations, ColorAnnotation, 'red');}); Copy
Obj.update(obj, (obj) => { Annotation.setDictionary(obj.annotations, ColorAnnotation, 'red');});
O(value size); encodes the value on every call.
Set the value of an annotation in a Dictionary.
Can also be used within Obj.update callback: