Click here to Skip to main content
15,905,233 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi friends....


Please tell me how To Convert Printing.PrintDocument to PDF and WordDocument as ReportViewer provide option of exporting document to PDF and Word Document
Posted
Updated 16-Feb-12 2:23am
v6

1 solution

For PDF you need a free library such as iTextSharp[^]. For Word documents you need to use the Microsoft.Office.Interop.Word Namespace[^].
 
Share this answer
 
Comments
Varinder Raii 16-Feb-12 6:11am    
how to use itextSharp any example
Richard MacCutchan 16-Feb-12 6:22am    
Lots of examples; try looking at some of the links in the page I gave you, search the articles here on CodeProject.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900