FontSize Property  
 

Gets and sets the point size of the current font.

Syntax

object.FontSize [= fontsize ]

Remarks

The FontSize property returns the size of the current font. Setting this property changes the size of the font which the control uses to display text. Changing the Size property of the object returned by the Font property will automatically update this property.

This property is provided for compatibility with languages which do not support the standard Font object, or where using the Font object interface is difficult. When possible, it is recommended that programs use the Font property instead.

Data Type

Integer (Int32)

See Also

Font Property, FontBold Property, FontName Property