Interface IReadOnlySystemFontCollection
Represents a readonly collection of Operating System fonts.
public interface IReadOnlySystemFontCollection : IReadOnlyFontCollection
- Inherited Members
Properties
SearchDirectories
Gets the collection of Operating System directories that were searched for font families.
IEnumerable<string> SearchDirectories { get; }
Property Value
Methods
TryMatchCharacter(CodePoint, FontStyle, string?, CultureInfo?, out FontMatch)
Tries to match a character to an installed system font.
bool TryMatchCharacter(CodePoint codePoint, FontStyle style, string? familyName, CultureInfo? culture, out FontMatch match)
Parameters
codePointCodePointThe code point to match.
styleFontStyleThe requested font style.
familyNamestringThe requested font family name, or null.
cultureCultureInfoThe culture used for matching, or null.
matchFontMatchWhen this method returns, contains the matched font if one was found; otherwise, the default value. This parameter is passed uninitialized.