HTML to PDF
ABCpdf is great for converting HTML to PDF. It supports HTML 3.2, HTML 4.0 and HTML 5.0 with CSS 3.
Use google Chrome style conversion, or Firefox style conversion or Internet Explorer style conversion. This means that you have a choice of HTML to PDF conversion based around any of the three current mainstream browsers.
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. 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.
HTML to PDF is Simple
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.
HTML to PDF is Sophisticated
The mechanism we invented for placed HTML content has proved enormously successful. Indeed it has been so successful that a number of other companies have copied it!
However there's more to this kind of functionality than a simple mechanism and as the creators of this approach we have more experience in this area than anyone else. You can see this sophistication in the types of conversion options offered by ABCpdf.
Note that features vary dependent on the HTML engine selected.
- Support for modern HTML and associated standards
- Convert HTML forms to PDF forms
- Convert HTML links to PDF links
- Convert within HTML links (e.g. anchor fragments) to within PDF links
- Convert links between multiple HTML pages in a PDF document to witInsert page breaks using the "page-break-before", "page-break-after" and "page-break-inside" styles
- Avoid page breaks using the "page-break-inside: avoid" style
- Repeated table headers and footers
- WebFont and FontAwesome support
- Tag elements of HTML and determine their location in the output PDF document
- Server-side calback code to modify the HTML DOM before a page is insertedore a page is insertAdd SVG, Flash and Movies
- Convert Flash to resolution independent vector PDF content
- Full control over font substitution and embedding
- Support for the MHT file format
- Optimized paging for very large HTML documents
If you're comparing like with like then bear these features in mind. Really there is nothing which comes close to ABCpdf.