layoutTextBlock Function
Lays out the contents of a TextBlock into a series of lines containing runs. Each paragraph is decomposed into a series of lines. Each series of consecutive non-linebreak runs within a paragraph is concatenated into one line. If the document specifies a width > 0, individual lines are split to try to avoid exceeding that width. Individual TextRuns can be split onto multiple lines at word boundaries if necessary. Individual FractionRuns are never split.
layoutTextBlock(args: LayoutTextBlockArgs): TextBlockLayout
@see computeLayoutTextBlockResult
Parameter | Type | Description |
---|---|---|
args | LayoutTextBlockArgs |
Returns - TextBlockLayout
Defined in
Last Updated: 27 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.