Qing Ju
Qing Ju

Reputation: 33

pdfAnnotate/other pdf annotation library for annotating PDF in Angular

Similar to the OP here. I'm working an Angular application that loads PDF, and allows programmatically (required) and manually (optional) adding annotations. This may be somehow duplicate to the linked post, but to clarify, in my case only adding annotation is needed, not actually editing/manipulating the original PDF file in other ways.

I found this pdfAnnotate library that seems promising. However, getting pdf.js to work in Angular (I'm in Angular 17) is challenging - no success yet. I did try both ng2-pdfjs-viewer and ngx-extended-pdf-viewer in my project. They both work well as for viewing, but -

My questions -

  1. Anyone has or can offer a working example of Angular(preferably 17) project with pdf.js integrated? If I can get that work it's one step towards using the pdfAnnotation library...
  2. Or, can I use pdfAnnotation library directly with ng2-pdf-viewer? Hoping the author @int-i would advise :) BTW ng2-pdf-viewer is such a nice component - thanks for creating it.
  3. Any recommendation is welcome. I also researched some of the commercial pdf view/annotation libraries out there. They are nice but too costly for our use case, plus having more features that we don't need at this time.

Thanks!

Upvotes: 0

Views: 821

Answers (0)

Related Questions