SetFontSize(Double, Int32, Int32) Method
Sets or changes the font em size measured in MIL units
Definition
Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public void SetFontSize(
double emSize,
int startIndex,
int count
)
Public Sub SetFontSize (
emSize As Double,
startIndex As Integer,
count As Integer
)
member SetFontSize :
emSize : float *
startIndex : int *
count : int -> unit
Parameters
- Double
- Font em size
- 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
SetFontSize Overload
Avalonia.Media Namespace