pdf file creation
-
I have to create PDF file in c#. The constrain is that I should not use assemblies (Ex. pdfSharp, itextSharp). The PDF file should be created by using StreamWriter class. If anyone knows the answer, please help me.
-
I have to create PDF file in c#. The constrain is that I should not use assemblies (Ex. pdfSharp, itextSharp). The PDF file should be created by using StreamWriter class. If anyone knows the answer, please help me.
This is not a trivial project in any way - that's why you get libraries such as pdfSharp. So if you can't use them, then you will have to write your own, or use a PDF printer driver (google will find you those) Writing your own is a big job - so start here: https://en.wikipedia.org/wiki/Portable_Document_Format[^] and set aside probably a few months to get it right. I'd recommend installing a number of PDF readers to check it with as you go along - you can't rely on just one to have not made the same mistakes you probably will! :laugh:
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
-
I have to create PDF file in c#. The constrain is that I should not use assemblies (Ex. pdfSharp, itextSharp). The PDF file should be created by using StreamWriter class. If anyone knows the answer, please help me.
Who gave you this constraint? What does the problem say, exactly? The reason I ask this is that writing a PDF is a complex task based on an understanding of the PDF file format which is huge. Even if you choose to target an early version of the format, it's still a big thing you need to create.
-
I have to create PDF file in c#. The constrain is that I should not use assemblies (Ex. pdfSharp, itextSharp). The PDF file should be created by using StreamWriter class. If anyone knows the answer, please help me.
Member 11585846 wrote:
The constrain is that I should not use assemblies (Ex. pdfSharp, itextSharp)
Why not? This sounds like homework ...
"I've seen more information on a frickin' sticky note!" - Dave Kreskowiak
-
I have to create PDF file in c#. The constrain is that I should not use assemblies (Ex. pdfSharp, itextSharp). The PDF file should be created by using StreamWriter class. If anyone knows the answer, please help me.
I have created PDF without using those libraries. I have finished it in 5 days.... Thanks for your comments. :)