Skip to main content

SetFontFamily(FontFamily) Method

Sets or changes the font family for the text object

Definition

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

public void SetFontFamily(
FontFamily fontFamily
)
View Source

Parameters

  FontFamily
Font family

See Also

Reference

FormattedText Class
SetFontFamily Overload
Avalonia.Media Namespace