Category Archives: Html to Pdf API

ExpertPdf Tools v10 Released

ExpertPdf Toolkit is a suite of PDF tools that cover the majority of PDF related needs in applications written using the .NET Framework. The Toolkit contains a lot of powerful components: html to pdf converter, pdf creator, pdf merger, pdf splitter, pdf security library, pdf to text converter, pdf to image converter (new), rtf to pdf converter, pdf images extractor, pdf viewers.

In business since 2007, ExpertPdf has just released version 10 of the toolkit.

Continue reading

ExpertPdf Html to Pdf Converter and Microsoft Azure

ExpertPdf works on Windows Azure only if it is used in a virtual machine or a cloud service. Due to some security restrictions, ExpertPdf does not work on Microsoft Azure if the web site execution mode is used.

Later update: Starting with v12.2 ExpertPdf added a new rendering engine called WebKit2 that works on Microsoft Azure.

Continue reading

ExpertPdf Html To Pdf Converter – Headers and Footers

ExpertPdf provides full support for pdf document headers and footers. In order to show or hide the header or footer on the rendered document you have to set the ShowHeader and ShowFooter properties of the PdfDocumentOptions property of the PdfConverter class. For example, to add both footer and header to the generated document you can use the following code:

Continue reading

ExpertPdf Html To Image Converter – API

As part of ExpertPdf HtmlToPdf Converter, there is also the ImgConverter class. This class defines a set of methods to render a image from a URL or from a HTML string. The conversion result can be a stream of bytes as byte[] object or a file on the disk. The image bytes can be further saved in a disk file or can be send a HTTP response to the client browser.

Continue reading

ExpertPdf Html To Pdf Converter – API

The converter API is fully documented in the Doc/HtmlToPdf.chm that can be found in the product archive that can be downloaded from www.html-to-pdf.net. In order to use the converter library you have include the ExpertPdf.HtmlToPdf namespace in your application. The main classes in this namespace is the PdfConverter class and the ImgConverter class which expose the methods you can use to render a PDF document or an image from a URL or a HTML string. Below is a brief description of the main classes and properties of the converter.

Continue reading