By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,983 Members | 1,582 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,983 IT Pros & Developers. It's quick & easy.

Using C# to create a PDF

P: n/a
Hello,
I was wondering if anyone could point me to a source that gives the
standards for creating PDF documents. I do not want to use a third party
product at all I want my C# object to create the PDF 100%.
Thanks,
Ken
Nov 15 '05 #1
Share this Question
Share on Google+
12 Replies


P: n/a
I think c# hasn't any class to generate pdf, you have to use someone library

"Kenneth H. Brannigan" <kb***@hotmail.com> schrieb im Newsbeitrag
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hello,
I was wondering if anyone could point me to a source that gives the
standards for creating PDF documents. I do not want to use a third party
product at all I want my C# object to create the PDF 100%.
Thanks,
Ken

Nov 15 '05 #2

P: n/a
I think c# hasn't any class to generate pdf, you have to use someone library

"Kenneth H. Brannigan" <kb***@hotmail.com> schrieb im Newsbeitrag
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hello,
I was wondering if anyone could point me to a source that gives the
standards for creating PDF documents. I do not want to use a third party
product at all I want my C# object to create the PDF 100%.
Thanks,
Ken

Nov 15 '05 #3

P: n/a
try this:

FileStream ReadPdf = new FileStream("PDFFileName", FileMode.Open);
long FileSize;
FileSize = ReadPdf.Length;
byte[] Buffer = new byte[(int)FileSize];
ReadPdf.Read(Buffer, 0, (int)ReadPdf.Length);
ReadPdf.Close();
FileStream CreatePdf = new FileStream("NewPDFFileName",
FileMode.Create);
CreatePdf.Write(Buffer,0,Buffer.Length);
CreatePdf.Close();

"Kenneth H. Brannigan" <kb***@hotmail.com> wrote in message
news:#0**************@TK2MSFTNGP10.phx.gbl...
Hello,
I was wondering if anyone could point me to a source that gives the
standards for creating PDF documents. I do not want to use a third party
product at all I want my C# object to create the PDF 100%.
Thanks,
Ken

Nov 15 '05 #4

P: n/a
try this:

FileStream ReadPdf = new FileStream("PDFFileName", FileMode.Open);
long FileSize;
FileSize = ReadPdf.Length;
byte[] Buffer = new byte[(int)FileSize];
ReadPdf.Read(Buffer, 0, (int)ReadPdf.Length);
ReadPdf.Close();
FileStream CreatePdf = new FileStream("NewPDFFileName",
FileMode.Create);
CreatePdf.Write(Buffer,0,Buffer.Length);
CreatePdf.Close();

"Kenneth H. Brannigan" <kb***@hotmail.com> wrote in message
news:#0**************@TK2MSFTNGP10.phx.gbl...
Hello,
I was wondering if anyone could point me to a source that gives the
standards for creating PDF documents. I do not want to use a third party
product at all I want my C# object to create the PDF 100%.
Thanks,
Ken

Nov 15 '05 #5

P: n/a
Look for ReportNET on www.sourceforge.net (??
http://reportnet.sourceforge.net ??) and you'll even get the source code.
Thanks,
Shawn

"Kenneth H. Brannigan" <kb***@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hello,
I was wondering if anyone could point me to a source that gives the
standards for creating PDF documents. I do not want to use a third party
product at all I want my C# object to create the PDF 100%.
Thanks,
Ken

Nov 15 '05 #6

P: n/a
Look for ReportNET on www.sourceforge.net (??
http://reportnet.sourceforge.net ??) and you'll even get the source code.
Thanks,
Shawn

"Kenneth H. Brannigan" <kb***@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hello,
I was wondering if anyone could point me to a source that gives the
standards for creating PDF documents. I do not want to use a third party
product at all I want my C# object to create the PDF 100%.
Thanks,
Ken

Nov 15 '05 #7

P: n/a
Kenneth H. Brannigan wrote:
Hello,
I was wondering if anyone could point me to a source that gives the
standards for creating PDF documents. I do not want to use a third party
product at all I want my C# object to create the PDF 100%.
Thanks,
Ken


Also, have a look at iText (C# port) here: http://itextsharp.sourceforge.net/

--
chris
Nov 15 '05 #8

P: n/a

"Kenneth H. Brannigan" <kb***@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hello,
I was wondering if anyone could point me to a source that gives the
standards for creating PDF documents. I do not want to use a third party
product at all I want my C# object to create the PDF 100%.
Thanks,
Ken


You could go straight to the source

PDF Reference

The PDF specification was first published when Acrobat products were
first introduced in 1993. Since then, updated versions of the PDF Reference
have been made available from Adobe via the Web. A significant number of
third-party developers and systems integrators offer customize enhancements
and extensions to Adobe's core family of products. Adobe publishes the PDF
specification to encourage the development of such third-party applications.
The PDF Reference provides a description of the PDF file format and is
intended primarily for application developers wishing to develop PDF
producer applications that create PDF files directly. It also contains
information enabling developers to write PDF consumer applications that read
existing PDF files and interpret or modify their contents.
PDF Reference, Fourth Edition, Version 1.5

http://partners.adobe.com/asn/tech/p...ifications.jsp
Nov 15 '05 #9

P: n/a
or try http://www.xmlpdf.com/ibex.html which is a standards based solution.
XML, XSLT, XSL-FO, all that good stuff ...

"Shawn B." <le****@html.com> wrote in message
news:Ou**************@TK2MSFTNGP10.phx.gbl...
Look for ReportNET on www.sourceforge.net (??
http://reportnet.sourceforge.net ??) and you'll even get the source code.
Thanks,
Shawn

"Kenneth H. Brannigan" <kb***@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hello,
I was wondering if anyone could point me to a source that gives the
standards for creating PDF documents. I do not want to use a third party
product at all I want my C# object to create the PDF 100%.
Thanks,
Ken


Nov 15 '05 #10

P: n/a
Yes, but the original poster asked for 100% free and source code, the link
below requires $$$.

Thanks,
Shawn
"john farrow" <vi*******@xtra.co.nz> wrote in message
news:uY**************@tk2msftngp13.phx.gbl...
or try http://www.xmlpdf.com/ibex.html which is a standards based solution. XML, XSLT, XSL-FO, all that good stuff ...

"Shawn B." <le****@html.com> wrote in message
news:Ou**************@TK2MSFTNGP10.phx.gbl...
Look for ReportNET on www.sourceforge.net (??
http://reportnet.sourceforge.net ??) and you'll even get the source code.

Thanks,
Shawn

"Kenneth H. Brannigan" <kb***@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hello,
I was wondering if anyone could point me to a source that gives the
standards for creating PDF documents. I do not want to use a third party product at all I want my C# object to create the PDF 100%.
Thanks,
Ken



Nov 15 '05 #11

P: n/a
Thank you so much. This is great. Exactly what I need!!

"Old Enough to Know Better" <Sp*******@NoSpam.com> wrote in message
news:jP*****************@fe1.columbus.rr.com...

"Kenneth H. Brannigan" <kb***@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hello,
I was wondering if anyone could point me to a source that gives the
standards for creating PDF documents. I do not want to use a third party
product at all I want my C# object to create the PDF 100%.
Thanks,
Ken
You could go straight to the source

PDF Reference

The PDF specification was first published when Acrobat products were
first introduced in 1993. Since then, updated versions of the PDF

Reference have been made available from Adobe via the Web. A significant number of
third-party developers and systems integrators offer customize enhancements and extensions to Adobe's core family of products. Adobe publishes the PDF
specification to encourage the development of such third-party applications. The PDF Reference provides a description of the PDF file format and is
intended primarily for application developers wishing to develop PDF
producer applications that create PDF files directly. It also contains
information enabling developers to write PDF consumer applications that read existing PDF files and interpret or modify their contents.
PDF Reference, Fourth Edition, Version 1.5

http://partners.adobe.com/asn/tech/p...ifications.jsp

Nov 15 '05 #12

P: n/a
Do a web search for itextsharp, its an open source c# library for writing c#
"Ken Brannigan" <kb***@hotmail.com> wrote in message
news:un**************@tk2msftngp13.phx.gbl...
Thank you so much. This is great. Exactly what I need!!

"Old Enough to Know Better" <Sp*******@NoSpam.com> wrote in message
news:jP*****************@fe1.columbus.rr.com...

"Kenneth H. Brannigan" <kb***@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hello,
I was wondering if anyone could point me to a source that gives the
standards for creating PDF documents. I do not want to use a third party product at all I want my C# object to create the PDF 100%.
Thanks,
Ken


You could go straight to the source

PDF Reference

The PDF specification was first published when Acrobat products were first introduced in 1993. Since then, updated versions of the PDF

Reference
have been made available from Adobe via the Web. A significant number of
third-party developers and systems integrators offer customize

enhancements
and extensions to Adobe's core family of products. Adobe publishes the PDF specification to encourage the development of such third-party

applications.
The PDF Reference provides a description of the PDF file format and is
intended primarily for application developers wishing to develop PDF
producer applications that create PDF files directly. It also contains
information enabling developers to write PDF consumer applications that

read
existing PDF files and interpret or modify their contents.
PDF Reference, Fourth Edition, Version 1.5

http://partners.adobe.com/asn/tech/p...ifications.jsp


Nov 15 '05 #13

This discussion thread is closed

Replies have been disabled for this discussion.