Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
F
Expand Minimize

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.

Syntax

object.Fonts(index)

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.

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

Show:
© 2015 Microsoft