DesktopTextArea.SelectionFontSize

From Xojo Documentation

Property (As Single )
aDesktopTextArea.SelectionFontSize = newSingleValue
or
SingleValue = aDesktopTextArea.SelectionFontSize

New in 2021r3

Supported for all project types and targets.

Used to get and set the font size of the selected text.

Notes

When used in an unstyled DesktopTextArea it changes the font size of all the text in the DesktopTextArea.