Export (0) Print
Expand All

Typeface.TryGetGlyphTypeface Method

Retrieves the GlyphTypeface that corresponds to the Typeface.

Namespace:  System.Windows.Media
Assembly:  System.Windows (in System.Windows.dll)

public bool TryGetGlyphTypeface(
	out GlyphTypeface glyphTypeface


Type: System.Windows.Media.GlyphTypeface%
A GlyphTypeface object that corresponds to this typeface, or a null reference (Nothing in Visual Basic) if the typeface was constructed from a composite font.

Return Value

Type: System.Boolean
true 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.


Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

© 2015 Microsoft