Currently we are evaluating pdf.js express to view and redact documents
what is the recommended approach to burn redaction done on by pdf.js express
permanently on the PDF at server side
we are looking preferably server side APIs such as .NET so that we can write our own web APIs
Express does not offer redaction support (even on the client), but you might want to check out our sister product, PDFTron WebViewer. It offers full client side redaction support and many other features that are not included in Express. Doing everything on the client is cheaper much more scalable as you do not need to setup and maintain a server.
If you still want to do it server side, PDFTron also has a .NET SDK that can do redaction on the server.
If you wanted to combine Express with the .NET SDK I linked above, you could implement your own client side redaction tool (by just extending a rectangle annotation) and then convert that annotation to a redaction on the server. If you choose to go this route, we could provide guidance on the implementation.
I hope this help! Let me know if you have any more questions.
Thanks for the response
We would like to try out PDFjs.express on the client side + PDFtron server side as we would need a redaction done
on the browser side as well as server side
we’ll like to go with PDFJs.express as we’ll just need a PDF viewer + redactions . So let us know if we do following approach >f you wanted to combine Express with the .NET SDK I linked above, you could implement your own client side redaction tool (by just extending a rectangle annotation) and then convert that annotation to a redaction on the server. If you choose to go this route, we could provide guidance on the implementation.
Hi thereActually we are trying to see if we can license pdfJsexpress only and then create a custom rectangle annotation which will be saved in
XFDF format
Do we have sample snippets on how we can implement them in Angular ( TypeScript ) ?
If your workflow is creating rectangle annotations on the client, and converting them to redactions on the server using a 3rd party SDK, then no you will not need a PDFTron license, just a PDF.js Express one.
As a side note, the enableRedaction: true option will not work in Express.
Express does not ship with Typescript definitions so no we do not have an angular typescript sample. We do however have a simple angular sample.