I am working with a requirement for one of module in project(.Net Core) which comprises of multiple pdf operations, like converting from pdf to html, then editing the html in a web view editor, finally converting it into a pdf.
I had worked out with some of pdf editors available which are as follows:
- Spire pdf
Observation:
I used existing code samples provided for spire pdf to convert from pdf to html and vice-versa. What i find missing in this editing the html editor in a web view, which allow me to add text, signature etc in the editor. - Sejda Online PDf editor tool (Javascript)
Observation:
Developers link: Sejda.com/developers Online tool seems pretty cool but not able to integrate the editor in web view as trying to create token but website says a user can be only registered with official email ids.
Pricing for this library is also a factor.
Please find screenshot below :
- PDF Tron(Javascript)
Observation:
I used javascript code provided to use web based pdf editor. I am able to perform required editing operationswith sample file provided like adding text, adding signature, highlighting text. But when i am trying to use a local based pdf on my machine its stuck with some cors issue. Pricing for this library is also a factor. Below mention code:
const viewerElement = document.getElementById('viewer');
WebViewer({
path: 'https://pdftron.s3.amazonaws.com/webviewer/5.1.0/lib',
initialDoc: 'https://pdftron.s3.amazonaws.com/downloads/pl/demo-annotated.pdf',// replace with your own PDF file
}, viewerElement).then((instance) => { // call apis here });
Thank you for going through the article, feel free for any more suggestions, i would be happy to try out some more ways to achieve my requirement.
Aucun commentaire:
Enregistrer un commentaire