Font Property  
 

Returns the Font object used by the terminal emulator.

Syntax

object.Font

Remarks

The Font property returns the Font object which is used by the control. The Font object determines the font name and attributes which are used when drawing text in the virtual display. The control expects that the font will be fixed-width, where the width and height of each character is the same. The use of a variable width font may cause the control to display the cursor in the wrong location.

By default, the control will use the standard Terminal font, which is a fixed-width OEM font that is suitable for most applications.

Data Type

Font Object

Example

The following example demonstrates how to use the Font property to change the name of the font used by the control:

Terminal1.Font.Name = "Lucida Console"

See Also

FontBold Property, FontName Property, FontSize Property