TryGetGlyphTypeface Method
Tries to get a glyph typeface for specified typeface.
Definition
Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public bool TryGetGlyphTypeface(
Typeface typeface,
out IGlyphTypeface?? glyphTypeface
)
Public Function TryGetGlyphTypeface (
typeface As Typeface,
<OutAttribute> ByRef glyphTypeface As IGlyphTypeface
) As Boolean
member TryGetGlyphTypeface :
typeface : Typeface *
glyphTypeface : IGlyphTypeface byref -> bool
Parameters
- Typeface
- The typeface.
- IGlyphTypeface
- The created glyphTypeface
Return Value
Boolean
True
, if the FontManager could create the glyph typeface, False
otherwise.