Summary
Tries to match a specified character to a typeface that supports specified font properties.
Syntax
bool TryMatchCharacter(int codepoint, FontStyle fontStyle, FontWeight fontWeight, FontFamily fontFamily, CultureInfo culture, out Typeface typeface)
Parameters
Name |
Type |
Description |
codepoint |
int |
The codepoint to match against. |
fontStyle |
FontStyle |
The font style. |
fontWeight |
FontWeight |
The font weight. |
fontFamily |
FontFamily |
The font family. This is optional and used for fallback lookup. |
culture |
CultureInfo |
The culture. |
typeface |
Typeface |
The matching typeface. |
Return Value
Type |
Description |
bool |
True , if the IFontManagerImpl could match the character to specified parameters, False otherwise.
|