fontSize

Type: Real

Availability: Read or write at any time

The fontSize property of the JadeSkinControl class contains the size of the font used for text displayed in a control skin. This property is defined for all subclasses of the JadeSkinControl class, but it has no meaning in some cases. For example, a ScrollBar control has no text, and therefore the font is not relevant.

Use the fontSize property to format text in a control skin, either in the JADE development environment or at run time by using logic.

Use the fontSize property to format text in the required font size. The default value (0) is determined by the system. To change the default, specify the size of the font in points. If the fontName property is null (the default), the control continues to use its own defined font. The skin font is ignored by any control that has its own defined font unless the skin of the control has been set by using the Control class setSkin method.

The font uses the application font if the fontName property for the control skin is set to Default during painting or to an empty string at run time. The fonts that are available in JADE vary, according to your system configuration, display devices, and printing devices.