Click or drag to resize

HtmlToPdfClientsetPdfHideElements Method

Exclude page elements from the conversion. The elements that will be excluded 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 setPdfHideElements(
	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