Catalin Florea Catalin Florea - 9 months ago 82
C# Question

HTML to PDF in c#

I'm trying to create an application that converts a file from the HTML format to the PDF format.

The approach I am using is:

  1. HTML to XHTML

  2. XHTML to Formatting Object

  3. Formatting Object to PDF

I'm having a bit of trouble with the whole XHTML to FO(or xsl).

Can you please tell me how to transform the XHTML to FO?

Or maybe a different approapch to the whole HTML to PDF?

Thanks, Catalin

Answer Source

Well you could use a HTML to PDF converter via shell, I am sorry I can not rememeber the name of the one I have used in the past, if you have a Google around, you should be able to find a good one.