views:

44

answers:

2

I'm rendering charts on my website using the Google Charts API and I want to export these into a report for the users, most likely a PDF file. What methods are available to do this programmatically into a PDF file?

alt text alt text

A: 

I just googled 'png-to-pdf' and there are dozens of solutions out there, some of them free.

Rafe
I don't think this should be submitted as an answer, as you're really know answering anything. Rather, it should be a comment.
Scott Mitchell
+2  A: 

Consider using iTextSharp. It's a free, open-source tool for programmatically generating PDFs from .NET applications.

I recently wrote an article on how to use iTextSharp to export charts generated by the Microsoft Chart Controls to a PDF: Using Microsoft's Chart Controls In An ASP.NET Application: Exporting Charts.

Scott Mitchell