SocketTools .NET Edition

Terminal.FontSize Property

Gets and sets the size of the font used by the control.

[Visual Basic]
<Browsable(Browsable:=False), _  Description(Description:="The size of the font used to display text in the control. This overrides the value of the Font property.")>
Public Property FontSize As Integer
[C#]
[Browsable(Browsable=False)]
[Description(Description="The size of the font used to display text in the control. This overrides the value of the Font property.")]
public int FontSize {get; set;}

Property Value

An integer value which specifies the point size of the current font.

Remarks

The FontSize property returns the point size of the current font being used by the control and changing the value of this property will change the size of the font being displayed. This property is typically used in conjunction with the FontName property, and will override the values specified by the Font property. In most cases, it is recommended that you specify the current font size using the Font property. However, if you need to use an OEM bitmap font, which is not supported by the System.Drawing.Font class, then setting the FontName and FontSize properties will permit the use of that font.

See Also

Terminal Class | SocketTools Namespace | FontName Property