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

Namespace: EvoPdf
Assembly: evohtmltopdf (in evohtmltopdf.dll) Version: 4.12.0.0

Syntax

C#
public HtmlElementMapping GetElementByHtmlId(
	string htmlElementId
)
Visual Basic
Public Function GetElementByHtmlId ( 
	htmlElementId As String
) As HtmlElementMapping
Visual C++
public:
HtmlElementMapping^ GetElementByHtmlId(
	String^ htmlElementId
)

Parameters

htmlElementId
Type: System..::..String
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