Fonts

Returns all font names available for the current display device.

Syntax

object.Fonts(index)

The parts of the Fonts property syntax are described in the following table.

Part Description
object An object expression that evaluates to an object.
index An integer from 0 to FontCount - 1.

Remarks

The Fonts property works in conjunction with the FontCount property, which returns the number of font names available for the object. Fonts available in Visual Basic vary according to your system configuration, display devices, and printing devices. Use both the Fonts and the FontCount properties to get information about available screen fonts.