From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As Double )
aWebLabel.FontSize = newDoubleValue
DoubleValue = aWebLabel.FontSize

New in 2020r1

Supported for all project types and targets.

Point size of the font used to display value of the label.


If you enter zero as the FontSize, your app will use the font size that works best for the platform on which it is running.

Sample Code

This code sets the font size to 16 points.

Me.FontSize = 16