Winnovative Logo

HtmlElementsMappingOptions Class

Winnovative Client for .NET Framework
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 (in WinnovativeClient.dll) Version: 17.0.0.0 (17.0.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
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

Reference