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
)

Parameters

typefaceSource
Type: System.Uri

The URI that specifies the location of the font file.

styleSimulations
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
Show: