Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Without using 3rd party tools/dlls how to code html to pdf conversion in c#

What I have tried:

I already searched but they gave some tools dlls but i want to know how to code it in c#
Posted
Updated 9-Mar-16 22:09pm
Comments
Kornfeld Eliyahu Peter 10-Mar-16 3:45am    
Can't...

1 solution

Take a look at the Specification document for PDF:
Adobe PDF 1.7 specification (link to adobe.com)

At over 1300 pages it represents an incredibly complex document format and if you have a project to deliver in any reasonable timescale I'd suggest (as others have) to use a library.

I confess the only library I've used myself is iTextSharp although there are license requirements - MPL and LPGL for version 4.1.6 and I think v5+ is under a different license.

If you have a project, a customer, a budget or a timescale then use a library, you'll get your product delivered *much* faster than learning PDF from scratch.

If you genuinely want to learn it for your own progression, I think the sheer complexity is going to put it beyond a kindly CodeProject member just providing code -> you'll have to get stuck into the documentation.

Best of luck!
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900