Click or drag to resize
Pdf Library for .NET

WebElementsMappingOptions Class

Helps retrieving the positions of a list of html elements in the generated pdf document.
Inheritance Hierarchy
SystemObject
  SelectPdfWebElementsMappingOptions

Namespace:  SelectPdf
Assembly:  Select.Pdf (in Select.Pdf.dll) Version: 20.2
Syntax
public class WebElementsMappingOptions

The WebElementsMappingOptions type exposes the following members.

Constructors
  NameDescription
Public methodWebElementsMappingOptions
Top
Properties
  NameDescription
Public propertyCssSelectors
This property is used to set an array containing the selectors of the HTML elements for which to retrieve the 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 Result property after conversion.
Public propertyResult
This property is set automatically after conversion and returns the mapping into the generated pdf document of the html elements specified by the CssSelectors.
Top
See Also