HiQPdf Documentation

HTML Objects

Quickly Create High Quality PDFs

The HTML objects are drawable objects which are capable to render in place HTML content. The HTML objects are derived from the HtmlObjectBase class. The are two types of HTML objects:

  • In Place HTML to PDF which is represented by the PdfHtml class. An object of this class can be laid out in any position in a PDF document to render HTML content in place. Multiple objects of this type can be laid out in the same PDF page and even overlapped. If there is no background defined in the HTML document then the background of the rendered content in PDF will be transparent, making visible the existing content under it.

  • In Place HTML to Image which is represented by the PdfHtmlImage class. An object of this class can be laid out in any position in a PDF document to render a HTML content as image. Multiple objects of this type can be laid out in the same PDF page and even overlapped.

See Also

Other Resources