Last active
February 16, 2026 07:42
-
-
Save documentize/9d3395354b10391cdc40374dc12a375c to your computer and use it in GitHub Desktop.
The example demonstrates how to Extract Properties (Title, Author, Subject, Keywords, Number of Pages) from PDF file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Create ExtractPropertiesOptions object to set input file | |
| var options = new ExtractPropertiesOptions("path_to_your_pdf_file.pdf"); | |
| // Perform the process and get Properties | |
| var pdfProperties = PdfExtractor.Extract(options); | |
| var filename = pdfProperties.FileName; | |
| var title = pdfProperties.Title; | |
| var author = pdfProperties.Author; | |
| var subject = pdfProperties.Subject; | |
| var keywords = pdfProperties.Keywords; | |
| var created = pdfProperties.Created; | |
| var modified = pdfProperties.Modified; | |
| var application = pdfProperties.Application; | |
| var pdfProducer = pdfProperties.PdfProducer; | |
| var numberOfPages = pdfProperties.NumberOfPages; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment