PdfHtmlElement Class

HTML content rendered in the pages of a document. In a document being created the content starts at a position in the current page and flows to as many new pages as it needs, laid out inside the margins of the document. In an edited document the content starts at a position in a page and continues on the following pages or on pages inserted after it, between the continuation margins of the element. The conversion is controlled by the converter exposed by Converter, whose page size and margins are taken from the document

Definition

Namespace: EvoPdf.Next
Assembly: EvoPdf.Next (in EvoPdf.Next.dll) Version: 15.0.0
C#
public class PdfHtmlElement
Inheritance
Object    PdfHtmlElement

Constructors

PdfHtmlElement(String) Creates an element that renders the HTML document at a URL
PdfHtmlElement(String, String) Creates an element that renders a HTML string

Properties

ContinuationBottomMargin In a PdfEditor, the distance in points from the bottom of the pages to the lowest point the content can reach on each page, starting with the page where it starts. Has no effect in a PdfDocument, where the bottom margin of the document applies. The default value is 0
ContinuationTopMargin In a PdfEditor, the distance in points from the top of the pages where the content continues to the top of the continued content. Has no effect in a PdfDocument, where the top margin of the document applies. The default value is 0
Converter The converter that renders the HTML content: its browser, JavaScript, navigation, authentication and layout settings apply to the rendering. The page size, the margins and the PDF standard of its document options are set from the document when the element is added
HtmlElementsInfoSelector A CSS selector of the HTML elements whose positions in the document are reported in the render information of the element, or null
InsertContinuationPages In a PdfEditor, when true, the pages where the content continues are inserted after the page where it starts, so the following pages of the document keep their content. When false, the default, the content continues on the following pages of the document and new pages are added only at its end. Has no effect in a PdfDocument
Width The width of the HTML content in points, or 0 to extend it to the right margin of the page, or to the right edge of the page in a PdfEditor
X The X position where the HTML content starts, in points and relative to the top left corner of the content area of the current page, inside the margins, or to the top left corner of the page in a PdfEditor. The content keeps this left offset on the next pages
Y The Y position where the HTML content starts, in points and relative to the top left corner of the content area of the current page, inside the margins, or to the top left corner of the page in a PdfEditor. On the next pages the content starts at the top margin of the document, or at ContinuationTopMargin in a PdfEditor

Methods

Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

See Also