Click or drag to resize
CanvasFontSet.GetMatchingFonts Method (String, FontWeight, FontStretch, FontStyle)
Gets a subset of fonts within the given WWS family prioritized by WWS distance.

Namespace:  Microsoft.Graphics.Canvas.Text
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public CanvasFontSet GetMatchingFonts(
	string familyName,
	FontWeight weight,
	FontStretch stretch,
	FontStyle style
)

Parameters

familyName
Type: System.String
weight
Type: Windows.UI.Text.FontWeight
stretch
Type: Windows.UI.Text.FontStretch
style
Type: Windows.UI.Text.FontStyle

Return Value

Type: CanvasFontSet
See Also