Using ASP.NET, is it possible to get the title for each page from a multipage pdf document?
Thanks for any help!
Using ASP.NET, is it possible to get the title for each page from a multipage pdf document?
Thanks for any help!
To read metadata with iTextSharp:
You can read metadata using PdfReader
.
PdfReader reader = new PdfReader("SomeFile.pdf");
string s = reader.Info["Author"];
To Write metadata during rendering/saving output:
http://milan.kupcevic.net/ghostscript-ps-pdf/
/Title (Document title)
/Author (Author name)
/Subject (Subject description)
/Keywords (comma, separated, keywords)
/ModDate (D:20061204092842)
/CreationDate (D:20061204092842)
/Creator (application name or creator note)
/Producer (PDF producer name or note)
/DOCINFO pdfmark