This project has moved and is read-only. For the latest updates, please go here.
Project Description
A 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.

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"
        End With
    End Sub

If you would like to contribute to this project please Email Me

Last edited Apr 7, 2008 at 11:34 AM by KenTucker, version 6