This documentation is archived and is not being maintained.

Visual Basic Reference

Visual Studio 6.0

Font Property (ActiveX Controls)

See Also   Example   Applies To

Returns a Font object.



The object placeholder represents an object expression that evaluates to an object in the Applies To list.


Use the Font property of an object to identify a specific Font object whose properties you want to use. For example, the following code changes the Bold property setting of a Font object identified by the Font property of a TextBox object:

txtFirstName.Font.Bold = True