Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Typeface.TryGetGlyphTypeface Method (GlyphTypeface)

 

Retrieves the GlyphTypeface that corresponds to the Typeface.

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

public bool TryGetGlyphTypeface(
	out GlyphTypeface glyphTypeface
)

Parameters

glyphTypeface
Type: System.Windows.Media.GlyphTypeface

GlyphTypeface object that corresponds to this typeface, or null if the typeface was constructed from a composite font.

Return Value

Type: System.Boolean

true if the out parameter is set to a GlyphTypeface value; otherwise, false.

A GlyphTypeface is font face that directly corresponds to a font file on the disk. A Typeface, however, is a representation of font face.

.NET Framework
Available since 3.0
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 7.1
Return to top
Show:
© 2016 Microsoft