Table of Contents

Namespace MiPdf.Layout

Classes

BarcodeElement

A barcode in the layout flow (also usable in table cells).

Cell

A table cell. Contains block elements (paragraphs, images, nested tables).

HorizontalLine

A horizontal rule.

ImageElement

An image in the layout flow. Scaled to the available width if necessary, keeping its aspect ratio.

LayoutDocument

Flows LayoutElements (paragraphs, tables, images) onto pages, creating new pages as needed. Headers and footers are drawn when the layout is closed, so they can show the total page count.

LayoutElement

Base class of elements that can be added to a LayoutDocument or table cells.

ListElement

An ordered or unordered list. Items may contain any layout elements including nested lists; items are split across pages. In tagged documents the list is tagged as L / LI / Lbl / LBody.

ListItem

An item of a ListElement; contains paragraphs, nested lists, tables, images.

PageBreak

Forces the following content onto a new page.

PageContext

Information passed to header/footer callbacks.

Paragraph

A block of text that is wrapped to the available width. Can contain several TextRuns with different fonts, sizes and colors. Line breaks ("\n") are honored. Splits across pages line by line.

PatternHyphenator

Liang's hyphenation algorithm (as used by TeX) with pattern files from the hyph-utf8 project, e.g. hyph-de-1996.tex (German), hyph-de-ch-1901.tex (Swiss German) or hyph-en-us.tex. Load patterns with FromTex(string, int, int); the pattern files are not bundled.

Spacer

Vertical empty space.

Table

A table with relative column widths. Rows are created automatically from the added cells (honoring column and row spans). Header rows are repeated on every page; rows taller than a page are split across pages.

TextLayout

Line breaking and rendering of paragraphs. Also usable for simple multi-line text.

TextRun

A piece of text with uniform formatting inside a Paragraph.

Structs

Thickness

Spacing around a box (points).

Interfaces

IHyphenator

Finds the positions where a word may be hyphenated.

Enums

ListStyle

Label style of a ListElement.

VerticalAlignment

Vertical alignment of the content within a table Cell.