I am trying to use iTextSharp to read/modify PDF metadata. I figured out how to do it using pdfreader and pdfstamper. I was wondering if I could also read/modify additional metadata information like copyright information and few others within the XMP photoshop namespace.
I would greatly appreciate any pointers to the solution.
Thank you, Murugesh.
Try the examples in the iTextSharp book there are examples on modifying any part of the pdf file!
You can read metadata using `PdfReader'. I've read metadata like this:
You can try the
iTextSharp.text.xml.xmp.XmpWriter
class to write metadata. I've never done it but I found this code below: