Skip to main content

GetTextRun Method

Gets a TextRun for specified text source index.

Definition​

Namespace: Avalonia.Media.TextFormatting
Assembly: Avalonia.Base (in Avalonia.Base.dll)

TextRun? GetTextRun(
int textSourceIndex
)
View Source

Parameters​

  Int32
The text source index.

Return Value​

TextRun
The text run.

See Also​

Reference​

ITextSource Interface
Avalonia.Media.TextFormatting Namespace