views:

514

answers:

1

Is there a way to convert from iTextSharp Document class to System.Drawing.Printing.PrintDocument in c# so i can give print facilities to user? thanks

A: 

iText can read, parse and write pdf files. It cannot render them.

Look at some of the commercial libraries that can do this, or something like GhostScript.

R Ubben
I have to show the user printpreview, settings and print options for that document. Does ghostscript does that?
No. If you have to do this, why not simply use the Adobe activex control and skip the System.Drawing.Printing.PrintDocument? Here is how (in Windows Forms) http://thedotnet.com/nntp/396093/showpost.aspx
R Ubben