Results 1 to 2 of 2

Thread: Make PDF

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2002
    Location
    Fox, OK
    Posts
    381

    Make PDF

    How can I create a PDF file from my VB.Net app?

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Make PDF

    There is no functionality in the .NET Framework to do that. I doubt that there ever will be either, given that MS want to push XPS over PDF. The Framework does contain XPS functionality. To create a PDF you need to know the PDF file format and work with that at a low level. Fortunately, others have already done that, so there are various third-party components out there. iTextSharp is a popular free option, for which you can find some examples already posted on this forum and in the CodeBank.

    Note that, if the user has a PDF printer driver installed, you can also print to that. If you are developing for a standard environment that you know will have such a driver then that might be the easiest option.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width