StyleRun.Size
From Xojo Documentation
This item was deprecated in version 2019r2. Please use StyleRun.FontSize as a replacement. |
Property (As Integer )
aStyleRun.Size = newIntegerValue
or
IntegerValue = aStyleRun.Size
Supported for all project types and targets.
or
IntegerValue = aStyleRun.Size
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.Text = Str(TextArea1.StyledText.StyleRun(0).Size)
This example sets the font size of the first StyleRun.
TextArea1.StyledText.StyleRun(0).Size = 16