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
)
Public Function setPdfBookmarksSelectors (
selectors As String
) As HtmlToPdfClient
Parameters
- selectors
- Type: SystemString
CSS selectors used to identify HTML elements, comma separated.
Return Value
Type:
HtmlToPdfClientReference to the current object.
See Also