WebGraphics.FontSize

From Xojo Documentation

Property (As Integer )
aWebGraphics.FontSize = newIntegerValue
or
IntegerValue = aWebGraphics.FontSize

New in 2020r1

Supported for all project types and targets.

Sets the size of the text to display using the DrawText method.

Example

This code draws large text:

g.FontSize = 48
g.DrawText("Hello World!", 10, 100)