FormattedTextSetFontTypeface(Typeface, Int32, Int32) Method
Sets or changes the type face
Namespace: Avalonia.MediaAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public void SetFontTypeface(
Typeface typeface,
int startIndex,
int count
)
Public Sub SetFontTypeface (
typeface As Typeface,
startIndex As Integer,
count As Integer
)
member SetFontTypeface :
typeface : Typeface *
startIndex : int *
count : int -> unit
Parameters
- typeface Typeface
- Typeface
- 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.