Click or drag to resize

HtmlElementMappingsCollectionGetElementByHtmlId Method

Gets the mapping in PDF of the HTML element with the specified HTML ID. The search is case insensitive.

Namespace:  ExpertPdf.HtmlToPdf
Assembly:  ephtmltopdf (in ephtmltopdf.dll) Version: 17.0.0
Syntax
public HtmlElementMapping GetElementByHtmlId(
	string htmlElementId
)

Parameters

htmlElementId
Type: SystemString
The HTML ID of the element.

Return Value

Type: HtmlElementMapping
The mapping in PDF of the specified HTML element or null if no element with the specified ID was found.
See Also