From Xojo Documentation

Property (As Boolean )

aGraphics.Outline = newBooleanValue
BooleanValue = aGraphics.Outline

New in 2021r1

Supported for all project types and targets.

If True, applies the outline style to the control's caption and/or its text content if any.



Mac apps can only display font styles that are available. You cannot force a font to display in bold or Italic if it does not have bold or Italic variations available. In this situation, the Bold property will not affect the font.

When using Outline on MacOS and Windows, Underline is not supported.

GraphicsBrush is ignored when using Outline on iOS.

Sample Code

This example sets the text to Outline.

Me.Outline = True


Desktop and iOS projects on all supported operating systems.

See Also

Bold, Italic and Underline properties.