Windows apps
Collapse the table of content
Expand the table of content
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.

GlyphTypeface Constructor (Uri, StyleSimulations)


Initializes a new instance of the GlyphTypeface class using the specified font file location and StyleSimulations value.

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

public GlyphTypeface(
	Uri typefaceSource,
	StyleSimulations styleSimulations


Type: System.Uri

The URI that specifies the location of the font file.

Type: System.Windows.Media.StyleSimulations

One of the StyleSimulations values.

This constructor creates a new GlyphTypeface object from an OpenType font face specified by typefaceSource and styleSimulations.

.NET Framework
Available since 3.0
Return to top
© 2016 Microsoft