System.LastFontIndex

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Read-Only Property (As Integer )
IntegerValue = aSystem.LastFontIndex

New in 2019r2

Supported on Desktop, Web, Console.

The index number of the last font installed on the user’s computer.

Examples

This example populates a top-level menu called FontMenu with the names of the installed fonts:

For i As Integer = 0 To System.LastFontIndex
FontMenu.AddMenu(New MenuItem(System.FontAt(i)))
Next

Compatibility

All project types on all supported operating systems.

See Also

System.FontAt and System.FontCount functions.