FormattedTextSetFontFamily(String, Int32, Int32) Method
Sets or changes the font family for the text object
Namespace: Avalonia.MediaAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public void SetFontFamily(
string fontFamily,
int startIndex,
int count
)
Public Sub SetFontFamily (
fontFamily As String,
startIndex As Integer,
count As Integer
)
member SetFontFamily :
fontFamily : string *
startIndex : int *
count : int -> unit
Parameters
- fontFamily String
- Font family name
- startIndex Int32
- The start index of initial character to apply the change to.
- count Int32
- The number of characters the change should be applied to.