TextLineMetrics.

Create(IEnumerable<TextRun>, TextRange, double, TextParagraphProperties) Method

Summary

Creates the text line metrics.

Syntax

public static TextLineMetrics Create(IEnumerable<TextRun> textRuns, TextRange textRange, double paragraphWidth, TextParagraphProperties paragraphProperties)

Parameters

Name Type Description
textRuns IEnumerable<TextRun> The text runs.
textRange TextRange The text range that is covered by the text line.
paragraphWidth double The paragraph width.
paragraphProperties TextParagraphProperties The text alignment.

Return Value

Type Description
TextLineMetrics