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 to map are specified by the CSS selectors given by the HtmlElementSelectors property or by the special HTML attributes in HTML document

Definition

Namespace: Winnovative
Assembly: WnvHtmlToPdf_NetCore (in WnvHtmlToPdf_NetCore.dll) Version: 18.0.0
C#
public class HtmlElementsMappingOptions
Inheritance
Object    HtmlElementsMappingOptions

Constructors

HtmlElementsMappingOptionsInitializes a new instance of the HtmlElementsMappingOptions class

Properties

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

Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

See Also