PDF 生成模板编辑器
开源可视化 PDF 生成引擎,支持自定义模板,并提供面向开发者的 API,灵活构建文档生成流程。
通过deleteAnnotations方法删除单个/多个注释,可接受的参数:
const annotationManager = docViewer.getAnnotationManager()
const annotationsList = annotationManager.getAnnotationsList()
annotationManager.deleteAnnotation(annotationsList[0])
annotationManager.deleteAnnotations(annotationsList)