Winnovative Logo

HtmlElementsMappingOptions Class

Winnovative Client for .NET Core
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

SystemObject
  WinnovativeClientHtmlElementsMappingOptions

Namespace:  WinnovativeClient
Assembly:  WinnovativeClient_NetCore (in WinnovativeClient_NetCore.dll) Version: 17.0.0
Syntax

public class HtmlElementsMappingOptions

The HtmlElementsMappingOptions type exposes the following members.

Constructors

  NameDescription
Public methodHtmlElementsMappingOptions
Initializes a new instance of the HtmlElementsMappingOptions class
Top
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.
Public propertyHtmlElementsMappingResult
This property is set by the converter after conversion and returns the mapping of the HTML elements selected by the HtmlElementSelectors selectors.
Public propertyMapHiddenElements
A flag indicating if the mapping of hidden elements is enabled. This property is true by default
Top
Methods

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
See Also

Reference