Interface: InlineTextRun
A single styled segment of inline rich text. Runs passed together to PdfPage.richText or PdfFlow.richParagraph flow on the same line and wrap together as one paragraph; each run carries its own style.
Any style omitted on a run inherits from the block-level options
(RichTextOptions). Whitespace between words is taken from the run
text verbatim — include trailing/leading spaces where you want them
between adjacent runs (e.g. "Hello " then a bold "world").
Properties
| Property | Type | Description |
|---|---|---|
bold? | boolean | Selects the bold variant of this run's font. See TextOptions.bold. |
characterSpacing? | number | Additional spacing between characters in PDF points. |
color? | ColorInput | Color for this run. |
font? | PdfFont | Font for this run (built-in name, embedded handle, or registered family name). |
fontSize? | number | Font size in PDF points for this run. |
italic? | boolean | Selects the italic variant of this run's font. See TextOptions.italic. |
kerning? | boolean | Whether kerning is applied for this run. |
link? | string | When set, wraps this run in a clickable URI link annotation. |
strike? | boolean | Draws a strike-through line over this run. |
text | string | Text content of this segment. |
underline? | boolean | Draws an underline beneath this run. |