Namespace SoftZenPdf.Layout

Classes

Block

A piece of a FlowDocument laid out top to bottom: a paragraph, table, container or break.

Borders

The four sides of a border; null sides are not drawn.

Container

A box around other blocks, with margins, padding, a border and a background, like an HTML div.

Field

A number filled in when the document is drawn, such as the page number in a footer.

FlowDocument

A document of flowing content (paragraphs, tables, lists, images) that SoftZenPdf breaks into lines and pages: text wraps, tables continue across pages with their header rows, and headers, footers and page numbers are added to every page.

FontProvider

Finds fonts by family name for laid-out text (FlowDocument) and for converted documents: the families you register, fonts found in folders or on the system, and the 14 standard fonts as the last resort.

HorizontalRule

A horizontal line across the available width.

ImageRun

An image in the line, sitting on the baseline like a large character.

Inline

A piece of a paragraph's content.

LineBreak

Ends the line; the paragraph continues on the next one.

PageBreak

Starts a new page.

PageSetup

Page size, margins, headers and footers for the pages of a FlowDocument (or of a section after a SectionBreak).

Paragraph

A paragraph: runs of text, images and fields, wrapped into lines.

ParagraphStyle

Layout of a paragraph: alignment, indents, spacing and page-break control. Records compare by value; create variants with with.

SectionBreak

Starts a new page with a different page setup (size, margins, headers and footers), like a section break in a word processor.

Tab

Moves to the next tab stop (see TabStops).

Table

A table of rows and cells. Column widths are fixed, percentages, or follow the content as in HTML's automatic table layout. Rows that do not fit on a page continue on the next, repeating the header rows; a row taller than a page is split between pages.

TableCell

A table cell holding blocks.

TableColumn

A table column.

TableRow

A table row.

TextRun

A run of text in one style.

TextStyle

The look of a run of text. Records compare by value; create variants with with.

Structs

BorderLine

One side of a border.

ColumnWidth

How wide a table or column is.

LineSpacing

The height of the lines of a paragraph.

Spacing

Distances on the four sides of a box, in points: padding or margins.

Enums

CellVerticalAlignment

Where a cell's content sits when the row is taller than it.

FieldKind

What a Field shows.

LineSpacingRule

How Value is interpreted.

ParagraphAlignment

How the lines of a paragraph are aligned.

TableAlignment

Where a table sits when it is narrower than the available width.

VerticalTextPosition

Raised or lowered text.