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
HtmlElementCssClassName
The CSS class name of the HTML element
public string HtmlElementCssClassName { get; }
Property Value
HtmlElementId
The ID in HTML of the HTML element
public string HtmlElementId { get; }
Property Value
HtmlElementInnerHtml
The HTML code between the HTML tags of the HTML element
public string HtmlElementInnerHtml { get; }
Property Value
HtmlElementOuterHtml
The HTML code of the HTML element
public string HtmlElementOuterHtml { get; }
Property Value
HtmlElementTagName
The HTML tag name of the HTML element
public string HtmlElementTagName { get; }
Property Value
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
MappingId
The mapping ID of the element given by the data-mapping-id HTML attribute
public string MappingId { get; }
Property Value
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; }