Graphics.Outline

From Xojo Documentation

Property (As Boolean )


aGraphics.Outline = newBooleanValue
or
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.

Notes

Limitations

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

Compatibility

Desktop and iOS projects on all supported operating systems.

See Also

Bold, Italic and Underline properties.