Screen.getFontSize()
Overview
Get the current font size for the native emulation screen. Only valid for TE hosts in native mode.
Added in version 2.1.45
Use Case
You would like to retrieve the current font size of the emulation screen so that you can increase or decrease the size.
Format
var fontSize = Screen.getFontSize();
Parameter | Description | Type | Required |
---|---|---|---|
fontSize | A number containing the current font size in points. | Number | Return |
Example
Copy
var fontSize = Screen.getFontSize();