Graphics.FontSize

From Xojo Documentation

Revision as of 15:54, 12 November 2019 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Property (As Single )
aGraphics.FontSize = newSingleValue
or
SingleValue = aGraphics.FontSize

New in 2019r2

Supported for all project types and targets.

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