HTML to PDF
ABCpdf is great for converting HTML to PDF. It supports HTML 3.2 and HTML 4.0 with CSS.
ABCpdf treats HTML as a media type so you can place your HTML content anywhere you like on your PDF pages. You can have HTML headers, footers or content - it simply depends on where you tell ABCpdf to place it.
You can place your HTML in one area or you can flow it between areas. You can even have HTML flowed between multiple columns over multiple PDF pages.
ABCpdf takes advantage of CSS page break tags for optimal control over page breaking. It operates simply and easily producing perfect HTML results every time.
ABCpdf lets you import HTML from local or remote sites. You can import ASP, Cold Fusion or indeed any kind of static or dynamic content. You can even generate your HTML and import it directly.
And because this functionality is integrated directly into ABCpdf you get all the power and flexibility of ABCpdf whenever you want to import HTML.
So let's see how easy it can be using ABCpdf ASP... and ABCpdf .NET...
HTML to PDF using ABCpdf .NET
We create an ABCpdf Doc object, add our URL and save. That's it!
[C#]
Doc theDoc = new Doc();
theDoc.AddImageUrl("http://www.google.com/");
theDoc.Save(Server.MapPath("htmlimport.pdf"));
theDoc.Clear();
[Visual Basic]
Dim theDoc As Doc = New Doc()
theDoc.AddImageUrl("http://www.google.com/")
theDoc.Save(Server.MapPath("htmlimport.pdf"))
theDoc.Clear()
We get the following output.

htmlimport.pdf
HTML to PDF using ABCpdf ASP
We create an ABCpdf Doc object, add our URL and save. That's it!
Set theDoc = Server.CreateObject("ABCpdf5.Doc")
theDoc.AddImageUrl "http://www.google.com/"
theDoc.Save "c:\mypdfs\htmlimport.pdf"
We get the following output.

htmlimport.pdf
