Announcements
No record found.
Hi everybody!
I'm a newbie, and i'm having a problem with read properties of PDF, i need get all attributes in properties of PDF.
Example: create on of PDF, Modified ....
Help me!
*This post is locked for comments
Hi,
Maybe this can helps you, https://mozilla.github.io/pdf.js/examples/
Hi Leon Kai,
You can obtain this information with mozilla/pdf.js. Below is some sample code for this.
PDFJS.getDocument(url).then(function (pdfDoc_) { pdfDoc = pdfDoc_; pdfDoc.getMetadata().then(function(contents) { console.log(contents); }).catch(function(error) { console.log("Error getting metadata"); console.log(error); }); }).catch(function(error) { console.log("Error getting PDF from the url: " + url); console.log(error); });
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.