pdf generation - Convert System.Drawing.Printing.PrintDocument to PDF c# -
i have use 3rd party sdk generates reports in system.drawing.printing.printdocument format. since project not windows form project(it web project),i need convert system.drawing.printing.printdocument pdf. have downloaded itextsharp , sharppdf seem create new pdf. have gone through tutorial(s) here: http://sharppdf.sourceforge.net/tutorials.html. requirement convert document have pdf. there i'm missing in using these libraries? can please provide sample code achieve this?
how installing virtual pdf printer , "print" document? example - http://www.dopdf.com/, or http://www.cutepdf.com/products/cutepdf/writer.asp?
a code sample of how print printdocument, can found here http://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument.aspx
another possible course take graphics printdocument (http://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument.printpage(v=vs.80).aspx , @ proposed here - http://www.websupergoo.com/helppdfnet/source/4-examples/20-systemdrawing.htm
Comments
Post a Comment