Constructor TextRun

Namespace
SoftZenPdf.Layout
Assembly
SoftZenPdf.dll

TextRun(string, TextStyle?)

A run of text in one style.

public TextRun(string text, TextStyle? style = null)

Parameters

text string

The text. Tabs become Tab stops and newlines line breaks only through Add(string, TextStyle?).

style TextStyle

The style; null uses the paragraph's TextStyle.