TabSheetSettings.PTFontSize

Syntax

PTFontSize: Boolean;

Description

The PTFontSize property determines whether font size is set in pixels.

Comments

Use JSON or the setPTFontSize method to set the property value and the getPTFontSize method to get the property value.

If the property is set to True, the font size is set in points, otherwise it is set in pixels (default).

Example

To execute the example, the HTML page must contain the TabSheet component named tabSheet (see Example of Creating the TabSheet Component). Set font size in points:

tabSheet.setPTFontSize(true);
// Update the table
tabSheet.update();

After executing the example the font size for the table is set in points:

See also:

TabSheetSettings