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 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 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); });
Hi,
Maybe this can helps you, https://mozilla.github.io/pdf.js/examples/
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156