Click or drag to resize

HtmlToPdfClientsetPdfBookmarksSelectors Method

Generate automatic bookmarks in pdf. The elements that will be bookmarked are defined using CSS selectors. For example, the selector for all the H1 elements is "H1", the selector for all the elements with the CSS class name 'myclass' is "*.myclass" and the selector for the elements with the id 'myid' is "*#myid". Read more about CSS selectors here.

Namespace:  SelectPdf.Api
Assembly:  SelectPdf.Api (in SelectPdf.Api.dll) Version: 1.4.0
Syntax
public HtmlToPdfClient setPdfBookmarksSelectors(
	string selectors
)

Parameters

selectors
Type: SystemString
CSS selectors used to identify HTML elements, comma separated.

Return Value

Type: HtmlToPdfClient
Reference to the current object.
See Also