Difference between revisions of "DesktopLabel.FontSize"
From Xojo Documentation
(Created page with "N/A") |
|||
Line 1: | Line 1: | ||
− | + | {{PropertyBox | |
+ | | name=FontSize | ||
+ | | owner=[[DesktopLabel]] | ||
+ | | ownertype=class | ||
+ | | scope=public | ||
+ | | type=[[Single]] | ||
+ | | platform=all | ||
+ | | newinversion=2021r3 | ||
+ | }} | ||
+ | {{Description | ||
+ | |text = Size of the font used to display the caption. }} | ||
+ | |||
+ | ==Notes== | ||
+ | If you enter zero as the FontSize, your app will use the font size that works best for the platform on which the application is running. | ||
+ | |||
+ | == Sample Code == | ||
+ | This code sets the fontsize to 16 points: | ||
+ | <rbcode> | ||
+ | Me.FontSize = 16 | ||
+ | </rbcode> | ||
+ | |||
+ | [[Category:API 2.0]] |
Latest revision as of 19:12, 23 July 2021
Property (As Single )
aDesktopLabel.FontSize = newSingleValue
or
SingleValue = aDesktopLabel.FontSize
New in 2021r3
Supported for all project types and targets.
or
SingleValue = aDesktopLabel.FontSize
New in 2021r3
Supported for all project types and targets.
Size of the font used to display the caption.
Notes
If you enter zero as the FontSize, your app will use the font size that works best for the platform on which the application is running.
Sample Code
This code sets the fontsize to 16 points:
Me.FontSize = 16