I have been trying to hide annotations on a PDF. After reading the documentation and reviewing the community forums, I was able to disable the annotation tools, downloading and printing. However, I thought that includePDFAnnotations: false would hide the annotations that are on the document. They however are still rendering on the document. Below is the code that I am using.
My goal is to create a toggle that would allow someone to view the PDF with annotations and without. Any help would be greatly appreciated. Thanks!