Typeface.TryGetGlyphTypeface Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Retrieves the GlyphTypeface that corresponds to the Typeface.
Assembly: System.Windows (in System.Windows.dll)
'Declaration Public Function TryGetGlyphTypeface ( _ <OutAttribute> ByRef glyphTypeface As GlyphTypeface _ ) As Boolean
Parameters
- glyphTypeface
- Type:
System.Windows.Media.GlyphTypeface
%
A GlyphTypeface object that corresponds to this typeface, or a Nothing reference (Nothing in Visual Basic) if the typeface was constructed from a composite font.
Return Value
Type: System.Booleantrue if the out parameter is set to a GlyphTypeface object; otherwise, false.
A GlyphTypeface is a font face that directly corresponds to a font file on the disk. A Typeface, however, is a representation of a font face.
Show: