Click or drag to resize
CanvasFontSetGetPropertyValues Method (CanvasFontPropertyIdentifier, String)
Returns all unique property values in the set, which can be used for purposes such as displaying a family list or tag cloud.

Namespace:  Microsoft.Graphics.Canvas.Text
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public CanvasFontProperty[] GetPropertyValues(
	CanvasFontPropertyIdentifier propertyIdentifier,
	string preferredLocaleNames
)

Parameters

propertyIdentifier
Type: Microsoft.Graphics.Canvas.TextCanvasFontPropertyIdentifier
preferredLocaleNames
Type: SystemString

Return Value

Type: CanvasFontProperty
Remarks

Values are returned in priority order according to the language list, such that if a font contains more than one localized name, the preferred one will be returned.

The language list is a string of semicolon-delimited locales, in order of preference. For example, "fr-FR;en-US".

See Also