Visual Basic Reference

Visual Studio 6.0

Fonts Property

See Also    Example    Applies To

Returns all font names available for the current display device or active printer.



The Fonts property syntax has these parts:

Part Description
Object An object expression that evaluates to an object in the Applies To list.
Index An integer from 0 to FontCount 1.


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 or printer fonts.