Click or drag to resize

TableOfContentsAddEntries Method

Adds an entry for each element of an element mapping result, in the order the elements appear in the document.

Namespace: ExpertPdf.PdfCreator
Assembly: epdfcreator (in epdfcreator.dll) Version: 22.0.0
Syntax
public void AddEntries(
	Document document,
	HtmlElementMappingsCollection mappings
)

Parameters

document  Document
The document the elements were rendered in.
mappings  HtmlElementMappingsCollection
The elements an HTML element or converter mapped (its HtmlElementsMappingOptions.HtmlElementsMappingResult), for example the elements matched by the "h1", "h2" and "h3" selectors.
Remarks
The entry text is the element text and the entry points to the top of the element. The level comes from the tag name: h1 is level 1, h2 level 2 and so on; any other element is level 1. Elements already listed (on the same page, at the same position) are not added twice.
See Also