SetFontFamily(FontFamily, Int32, Int32) Method
Sets or changes the font family for the text object
Definition
Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public void SetFontFamily(
FontFamily fontFamily,
int startIndex,
int count
)
Public Sub SetFontFamily (
fontFamily As FontFamily,
startIndex As Integer,
count As Integer
)
member SetFontFamily :
fontFamily : FontFamily *
startIndex : int *
count : int -> unit
Parameters
- FontFamily
- Font family
- Int32
- The start index of initial character to apply the change to.
- Int32
- The number of characters the change should be applied to.
See Also
Reference
FormattedText Class
SetFontFamily Overload
Avalonia.Media Namespace