TextCharacters.

TryGetRunProperties(ReadOnlySlice<char>, Typeface, Typeface, int) Method

Summary

Tries to get run properties.
Namespace
Avalonia.Media.TextFormatting
Containing Type
TextCharacters

Syntax

protected bool TryGetRunProperties(ReadOnlySlice<char> text, Typeface typeface, Typeface defaultTypeface, out int count)

Parameters

Name Type Description
text ReadOnlySlice<char>
typeface Typeface The typeface that is used to find matching characters.
defaultTypeface Typeface
count int

Return Value

Type Description
bool