Click or drag to resize

HtmlExcludedRegionsOptions Class

Defines the necessary API to define a set of HTML regions to be excluded from conversion to PDF. The HTML regions to be excluded are defined as HTML elements specified by their unique HTML ID or HTML tag name.
Inheritance Hierarchy
SystemObject
  ExpertPdf.HtmlToPdfHtmlExcludedRegionsOptions

Namespace:  ExpertPdf.HtmlToPdf
Assembly:  ephtmltopdf (in ephtmltopdf.dll) Version: 17.0.0
Syntax
public class HtmlExcludedRegionsOptions

The HtmlExcludedRegionsOptions type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyHtmlElementSelectors
This property is used to set an array containing the selectors of the HTML elements that will be excluded from the html to pdf conversion. For example, the selector for all the image elements is "img", 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". The elements mapping will be retrieved in the HtmlElementsMappingResult property after conversion. Note: This is used only by the WebKit rendering engine.
Top
See Also