Skip to main content

Parse(String) Method

Parses a FontFamily string.

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public static FontFamily Parse(
string s
)

Parameters

  String
The FontFamily string.

Return Value

FontFamily

Exceptions

ArgumentExceptionSpecified family is not supported.

See Also

Reference

FontFamily Class
Parse Overload
Avalonia.Media Namespace