PdfDocumentAddHtml Method

Renders HTML content in the document: the content starts at the position given by the element in the current page and continues on as many new pages as it needs, inside the margins of the document. The links, the form fields and, when the document is tagged, the structure of the rendered content are kept, and the outline generated from the HTML headings, when the converter is set to generate one, is added to the bookmarks of the document. The elements added after this call go to the last page of the content, below LastPageRectangle

Definition

Namespace: EvoPdf.Next
Assembly: EvoPdf.Next (in EvoPdf.Next.dll) Version: 15.0.0
C#
public PdfHtmlRenderInfo AddHtml(
	PdfHtmlElement htmlElement
)

Parameters

htmlElement  PdfHtmlElement
The HTML content to render

Return Value

PdfHtmlRenderInfo
A PdfHtmlRenderInfo object describing the pages and the areas where the content was rendered

See Also