Click or drag to resize
Pdf Library for .NET

WebElementsCollectionGetElementByHtmlId Method

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

Namespace:  SelectPdf
Assembly:  Select.Pdf (in Select.Pdf.dll) Version: 20.2
Syntax
public WebElement GetElementByHtmlId(
	string htmlElementId
)

Parameters

htmlElementId
Type: SystemString
The HTML ID of the element.

Return Value

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