PdfEditorAddHtml Method
Renders HTML content in the pages of the document: the content starts at the position given by the element
in a page, relative to the top left corner of the page, and continues on the following pages of the
document, or on pages inserted after the given page when
InsertContinuationPages
is true, between the
ContinuationTopMargin and
ContinuationBottomMargin margins of the pages. The pages where the content
continues have the size of the page where it starts. The links and the form fields 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
LastPageRectangleNamespace: EvoPdf.NextAssembly: EvoPdf.Next (in EvoPdf.Next.dll) Version: 15.0.0
public PdfHtmlRenderInfo AddHtml(
int pageNumber,
PdfHtmlElement htmlElement
)
- pageNumber Int32
- The 1-based number of the page where the content starts
- htmlElement PdfHtmlElement
- The HTML content to render
PdfHtmlRenderInfo
A
PdfHtmlRenderInfo object describing the pages and the areas where the content was rendered