Table of Contents

Class LayoutEngine

Namespace
SimpleSign.HtmlToPdf.Layout
Assembly
SimpleSign.HtmlToPdf.dll

Lays out a styled DOM tree into positioned boxes across pages. Handles block flow, inline text wrapping, page breaking, and list markers.

public sealed class LayoutEngine
Inheritance
LayoutEngine
Inherited Members

Constructors

LayoutEngine(PageSettings)

Initializes a new instance of the LayoutEngine class.

public LayoutEngine(PageSettings settings)

Parameters

settings PageSettings

Page settings for layout.

Methods

Layout(HtmlNode)

Lays out the DOM tree into pages.

public LayoutResult Layout(HtmlNode root)

Parameters

root HtmlNode

Root node of the styled DOM tree.

Returns

LayoutResult

Layout result with positioned pages and boxes.