Click or drag to resize

HtmlElementsMappingOptions Class

Defines the necessary API to retrieve the positions in the generated PDF document for the HTML elements specified in a list. The HTML elements are specified by their unique HTML ID or HTML tag name.
Inheritance Hierarchy
SystemObject
  ExpertPdf.HtmlToPdfHtmlElementsMappingOptions

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

The HtmlElementsMappingOptions 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 for which to retrieve position in PDF. 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 propertyHtmlElementsMappingResult
This property is set by the converter after conversion and returns the mapping of the HTML elements specified by the HtmlElementIds and HtmlTagNames lists.
Top
See Also