StyleRun.FontSize
From Xojo Documentation
Property (As Integer )
aStyleRun.FontSize = newIntegerValue
or
IntegerValue = aStyleRun.FontSize
New in 2019r2
Supported for all project types and targets.
or
IntegerValue = aStyleRun.FontSize
New in 2019r2
Supported for all project types and targets.
Gets or sets the font size of the StyleRun.
Example
This example gets the font size of the first StyleRun.
TextField1.Value = TextArea1.StyledText.StyleRun(0).FontSize.ToString
This example sets the font size of the first StyleRun.
TextArea1.StyledText.StyleRun(0).FontSize = 16