Skip to content

XUIFonts

Description

A module providing helper methods for working with fonts.

Methods

Name Parameters Returns
All String()
AllMonospace String()
AllMonospace_ String()
All_ String()
FontAvailable fontName As String Boolean
IsMonospaceFont fontName As String Boolean

Method Descriptions

All() As String()

Returns an array of the names of all fonts available on this system.


AllMonospace() As String()

Returns an array of the names of all monospace fonts available on this system.


AllMonospace_() As String()

Internal use. Returns an array of the names of all monospace fonts available on this system.

This is called internally by AllMonospace() when returning the list of fonts.


All_() As String()

Internal use. Returns an array of the names of all fonts available on this system.

This is called internally by All() when returning the list of fonts.


FontAvailable(fontName As String) As Boolean

Returns True if there is a font named fontName available for use on the system.


IsMonospaceFont(fontName As String) As Boolean

Returns True if a font named fontName exists on the system and is monospace.