Table of Contents

Class HtmlElementMapping

Namespace
EvoPdf
Assembly
evohtmltopdf.dll

Represents the mapping of a HTML element in the PDF document as collection of PDF rectangles. A HTML element can span on many pages in the generated PDF document and therefore, in general, many PDF rectangles are necessary to completely describe the mapping of a HTML element in PDF

[ClassInterface(ClassInterfaceType.AutoDual)]
public class HtmlElementMapping
Inheritance
HtmlElementMapping
Inherited Members

Properties

HtmlElementAttributes

The attributes of the HTML element

public NameValueCollection HtmlElementAttributes { get; }

Property Value

NameValueCollection

HtmlElementCssClassName

The CSS class name of the HTML element

public string HtmlElementCssClassName { get; }

Property Value

string

HtmlElementId

The ID in HTML of the HTML element

public string HtmlElementId { get; }

Property Value

string

HtmlElementInnerHtml

The HTML code between the HTML tags of the HTML element

public string HtmlElementInnerHtml { get; }

Property Value

string

HtmlElementOuterHtml

The HTML code of the HTML element

public string HtmlElementOuterHtml { get; }

Property Value

string

HtmlElementTagName

The HTML tag name of the HTML element

public string HtmlElementTagName { get; }

Property Value

string

HtmlElementText

The text of the HTML element. If the element does not have an associated text, this property returns null

public string HtmlElementText { get; }

Property Value

string

MappingId

The mapping ID of the element given by the data-mapping-id HTML attribute

public string MappingId { get; }

Property Value

string

PdfRectangles

The rectangles occupied by the HTML element in the generated PDF document. A HTML element can span on many pages in the generated PDF document and therefore, in general, many PDF rectangles are necessary to completely describe the mapping of a HTML element in PDF.

public HtmlElementPdfRectangle[] PdfRectangles { get; }

Property Value

HtmlElementPdfRectangle[]