Click or drag to resize
CanvasFontSetGetMatchingFonts 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: SystemString
weight
Type: Windows.UI.TextFontWeight
stretch
Type: Windows.UI.TextFontStretch
style
Type: Windows.UI.TextFontStyle

Return Value

Type: CanvasFontSet
See Also