FormattedTextSetFontStyle(FontStyle, Int32, Int32) Method
Sets or changes the font style
Namespace: Avalonia.MediaAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public void SetFontStyle(
FontStyle style,
int startIndex,
int count
)
Public Sub SetFontStyle (
style As FontStyle,
startIndex As Integer,
count As Integer
)
member SetFontStyle :
style : FontStyle *
startIndex : int *
count : int -> unit
Parameters
- style FontStyle
- Font style
- 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.