DesktopLabel.FontUnit

From Xojo Documentation

Revision as of 19:12, 23 July 2021 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As FontUnits )
aDesktopLabel.FontUnit = newFontUnitsValue
or
FontUnitsValue = aDesktopLabel.FontUnit

New in 2021r3

Supported for all project types and targets.

The units in which FontSize is measured.


Example

This example sets the text to 16 point Futura.

Me.FontName = "Futura"
Me.FontUnit = FontUnits.Point
Me.FontSize = 16