Graphics.FontSize
From Xojo Documentation
Property (As Single )
aGraphics.FontSize = newSingleValue
or
SingleValue = aGraphics.FontSize
New in 2019r2
Supported on Desktop, Web, Console.
or
SingleValue = aGraphics.FontSize
New in 2019r2
Supported on Desktop, Web, Console.
Point size of the font used to display a caption or text content.
Notes
If you enter zero as the TextSize, 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