Hello there,
I am using version 7.2.1
I am unable to show my highlighted texts in the right sidebar(marked in the screenshot). My code is below:
const highlight = new Annotations.TextHighlightAnnotation();
highlight.Author = citationAuthor;
highlight.Quads = citation.quads;
highlight.PageNumber = citation.page;
highlight.Id = citation.id.toString();
highlight.Locked = true; // is editable or not
highlight.Subject = 'Citation';
annotManager.addAnnotation(highlight, true);
annotManager.drawAnnotations(highlight.PageNumber);
I am expecting this:
Getting this instead: