WebGraphics.Bold

From Xojo Documentation

Property (As Boolean )
aWebGraphics.Bold = newBooleanValue
or
BooleanValue = aWebGraphics.Bold

Supported for all project types and targets.

If True, applies the bold style to text drawn using WebGraphics.DrawText.

Examples

In the WebCanvas.Paint event handler, this code displays bold text:

g.Bold = True
g.DrawText("Hello World!", 10, 100)