Need to categories the Underline annotations

Is that Possible to do categories the annotations and assign the annotation to users?

Could you please help.

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:APIs:Forums:

Hi,

Could you please elaborate what you are trying to implement?

If you want to get a certain type of annotation, you could do so by getting all annotations first and then filter through them like this:

const { annotationManager, Annotations } = instance.Core
const underlineAnnotations =  annotationManager.getAnnotationsList().filter(annot=>annot instanceof Annotations.TextUnderlineAnnotation)

If you want to assign the annotations with an author name, you could loop through the annotations and change the Author property:

underlineAnnotations.forEach(annot=>annot.Author = "Author 1")