TryGetGlyphTypeface Method
Collapse the table of content
Expand the table of content

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.

Namespace:  System.Windows.Media
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.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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft