Search This Blog

iTextSharp and how to add metadata

posted on Saturday, May 3, 2014

Another chapter in the iTextSharp tutorials! It seems that there's a pretty big demand for these kind of tutorials so I'll do my best to add some more in the future. If you're looking for something specific, feel free to let me know and I'll see what I can do ;)

Today I've got something pretty basic lined up for you: metadata!

As you might or might not know, you can add metadata such as author, title, keywords, ... to a PDF file to specify some specifics about who created the file, when and why.

This is a small and simple example but I figured that the iTextSharp newbies might appreciate it, so let's get to it!