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: ExpertPdf.HtmlToPdf (in ExpertPdf.HtmlToPdf.dll) Version: 11.0.0
Syntax
public class HtmlExcludedRegionsOptions

The HtmlExcludedRegionsOptions type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyHtmlElementIds
This property is used to set an array containing the HTML IDs of the HTML elements that will be excluded from conversion to PDF. The HTML ID of a HTML element is given by its ID or NAME property in the HTML document. The HTML IDs are case insensitive. If there are many HTML elements with the same HTML ID in the HTML document, only the first HTML element with that ID will be selected. Note: This is used only by the IE rendering engine.
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.
Public propertyHtmlTagNames
This property is used to set an array containing the HTML tag names of the HTML elements that will be excluded from conversion to PDF. The HTML tag names are case insensitive. Note: This is used only by the IE rendering engine.
Top
See Also