How can I programatically render Google Charts API images into a PDF file?
I'm rendering charts on my website using the Google Charts API and I want to exp开发者_JAVA百科ort these into a report for the users, most likely a PDF file. What methods are available to do this programmatically into a PDF file?
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.
精彩评论