How to generate a PDF file with C# ?

  • Thread starter Thread starter =?iso-8859-1?Q?Dehaibe_Fran=E7ois?=
  • Start date Start date
?

=?iso-8859-1?Q?Dehaibe_Fran=E7ois?=

Hi,

I'm making a program which uses a scanner which is enable
to can multiple pages.
I want to save all the scanned images into a PDF FILE.

Does exist an API which can generate PDF FILE in .NET ?

Best Regards,

François
 
There are a bunch of options, some commercial and some free.

In no particular order:

1. XMLPDF, by Visual Programming - http://www.xmlpdf.com/
Generate an XML file that conforms to their schema, then generate a PDF from
that XML file.
This one is Commercial.

---------------------------------
2. a version of Crystal Reports included in Visual Studio .NET does PDF
export.
See
http://www.crystaldecisions.com/products/crystalreports/net/editioncomparison.asp

---------------------------------
3. PdfCreator for .NET -
Free.
http://www.gotdotnet.com/Community/...mpleGuid=5588085e-3d0b-4db8-8a88-603ef212d0db

---------------------------------
4. PdfCreator printer driver - (this is different from the above)
see
http://sector7g.wurzel6.de/pdfcreator/index_en.htm
Apparently you just print to a PDF printer driver. You need to specify an
output filename.

---------------------------------
5. itextsharp - http://itextsharp.sourceforge.net/
Free, and GPL.
This depends on SharpZiplib -
http://www.icsharpcode.net/OpenSource/SharpZipLib/Download.aspx

Of itextsharp, What I found... It works as advertised. I only
used the basic features. I did not do page layout or graphics,
just basic text, tables, lists. I did the "XML to PDF"
translation. (something like FOP).

http://itextsharp.sourceforge.net/tutorial/ch07.html#xml2pdf

You can see a few simple examples here, with source code, and a few notes I
had about usage:
http://dinoch.dyndns.org:8080/cheeso/itext/

---------------------------------
6. http://sourceforge.net/projects/pdflibrary/

---------------------------------
7. http://www.pdftron.com/net/index.html

---------------------------------
8. http://siberix.com/pdf/

---------------------------------
9. nFop - XSL FO for .NET
http://nfop.sourceforge.net/

--
Dino Chiesa
Microsoft Developer Division
d i n o c h @ o n l i n e . m i c r o s o f t . c o m


Dehaibe François said:
I'm making a program which uses a scanner which is enable
to can multiple pages.
I want to save all the scanned images into a PDF FILE.

Does exist an API which can generate PDF FILE in .NET ?

Not that I've used any of them, but:

http://sourceforge.net/projects/pdflibrary/
http://www.pdftron.com/net/index.html
http://siberix.com/pdf/

might help you.
 
Back
Top