Xojo Documentation
Xojo Documentation
Home
Getting Started
Get Started with Xojo
QuickStarts
Tutorials
Pi Programming
More Guides
Resources
In-Depth Guides
User Guide
Language Reference
Resources
Release Notes
System Requirements
Deprecations
Videos
Feedback
About
Usage
Copyrights and Trademarks
Tools
What links here
Related changes
Special pages
Printable version
Permanent link
Page information
Graphics.Font
From Xojo Documentation
Property
(As
Font
)
a
Graphics
.
Font
=
new
Font
Value
or
Font
Value
=
a
Graphics
.
Font
New in 2020r2
Supported on Mobile.
The font used for displaying text.
Sample Code
This in the Paint event draws text using a specific font:
g
.
Font = Font
.
BoldSystemFont
g
.
DrawText(
"Hello"
,
5
,
20
)
Categories
:
New2020r2
Properties
API 2.0