Joined: 19 May 2009
|Posted: Tue May 19, 2009 2:55 pm Post subject: PDF from GDI+ Code
I have a LOT of .net printing logic using GDI+
Do you have any tips to use my code for printing, and the same code (or slightly modified) for generate a PDF using PDFsharp??
I was thinking of at the very end of my PrintPage logic, if I'm on "PDF MODE" I'll add a new page to the PDF and then DRAW all the PrintDocument page graphic to the PDF page canvas. In this way, each page of the PDF will be an Image drawing.
Do you have any comments about this approach?
Thanks in advance!