Project DescriptionA component you can drop on your form which will allow you to print your print document to a pdf
This project is a Visual Studio 2008 project which targets the .Net framework 2.0. How this project works is it sends the user a graphics object which will allow the user to draw on a bitmap which is added as a page in a pdf. The pdf library I used is striped down Vb version of the open source Sharp Pdf Library.
http://sharppdf.sourceforge.net/index.html Sample code on using the pdfPrinter component to print to a PDF. Note Document (a print document) was set in the designer.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
With PdfPrinter1
.Title = "Product Catalog"
.Author = "Ken Tucker"
.FileName = "NorthwindCatalog.pdf"
.Print()
End With
End Sub
If you would like to contribute to this project please
Email Me