Working with PDF Documents in C#

You may need to create simple PDF documents, add data to a PDF template or manipulate PDFs by merging or copying them.

Generate a PDF without a Template

The following blog proved useful mikesdotnetting.  I also found that itextsharp was useful for generating graphics for use on websites.  It proved to be more robust than System.Drawing.Graphics which produced slightly unexpected results and could not load certain fonts.

Use existing PDF Templates

If you are filling in data then this approach might be easier because the basic layout can be created in Open Office or something similar. Also, it could allow a designed to get involved with the appearance. This involves using a separate PDF reader and PDF stamper to get the existing template and then add things to it.

Further Reading

The definitive book on itext can be found for free in this sample.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s