Defines the necessary API to retrieve the positions in the generated PDF document
for the HTML elements specified in a list. The HTML elements to map are specified by
the CSS selectors given by the HtmlElementSelectors property
or by the special HTML attributes in HTML document
Inheritance Hierarchy
EvoPdfHtmlElementsMappingOptions
Namespace: EvoPdf
Assembly: evohtmltopdf (in evohtmltopdf.dll) Version: 10.0.0.0
Syntax
The HtmlElementsMappingOptions type exposes the following members.
Constructors
Name | Description | |
---|---|---|
HtmlElementsMappingOptions | Initializes a new instance of the HtmlElementsMappingOptions class |
Properties
Name | Description | |
---|---|---|
HtmlElementSelectors |
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.
| |
HtmlElementsMappingResult |
This property is set by the converter after conversion and returns the mapping of the HTML elements
selected by the HtmlElementSelectors selectors.
| |
MapHiddenElements |
A flag indicating if the mapping of hidden elements is enabled. This property is true by default
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
See Also