Creating PDF files using C#

12 02 2010

Being able to create PDF files from C# code is something I find incredibly useful. It’s taken me a while to find a good (free!) tool, but I’ve definitely found it. It’s a tool called MigraDoc which also comes with the renderer PDFSharp. They’re both fantastic open source .NET libraries.

The commands and way it works take a little getting used to but it’s all pretty straight forward. They have a Wiki that has loads of code examples which provides great knowledge to learn how to use the tool, but is also great if you get a bit stuck on something. If you can’t find an answer on the Wiki there’s also a forum. There’s lots of answered questions on there which has provided most of my answers to problems and the one time I couldn’t find an answer and posted, I had a reply from one of the developers within the hour.

So enough of the babbling, here’s a link to the site. Go forth and create PDF’s!

http://www.pdfsharp.net/MainPage.ashx

I may even post some code snippets using MigraDoc sometime in the near future.

Advertisements

Actions

Information

One response

25 10 2013
Penny

You can also use this C# Library for PDF for not only creating but reading, modifying and even converting pdf documents to other formats in C#/.NET/ASP.NET

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




%d bloggers like this: