SyntaxColoring.GetFontSize
--------------------------

Queries current font size for Script Workspace.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [SyntaxColoring](component_SyntaxColoring.md) | [10.1](newinversion101.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "SyntaxColoring.GetFontSize" ) ### Parameters

none

### Result

Returns number or error.

### Description

Queries current font size for Script Workspace.  
Size is zero for default. Range should be 11 to 18.  
### See also

- [SyntaxColoring.GetFontName](SyntaxColoringGetFontName.md)
- [SyntaxColoring.GetMinCalcFontSize](SyntaxColoringGetMinCalcFontSize.md)
- [SyntaxColoring.SetFontName](SyntaxColoringSetFontName.md)
- [SyntaxColoring.SetFontSize](SyntaxColoringSetFontSize.md)

### Release notes

- **Version 10.1**
    - Added [SyntaxColoring.GetFontSize](https://www.mbsplugins.eu/SyntaxColoringGetFontSize.shtml) and [SyntaxColoring.SetFontSize](https://www.mbsplugins.eu/SyntaxColoringSetFontSize.shtml) functions.

### Blog Entries

- [MBS FileMaker Plugin, version 10.1pr1](https://www.mbsplugins.de/archive/2020-01-30/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)
- [MBS Filemaker Plugin, version 3.5pr9](https://www.mbsplugins.de/archive/2013-11-29/MBS_Filemaker_Plugin_version_3/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 28th January 2020 , last changed 16th November 2023

  
[SyntaxColoring.GetFontName](SyntaxColoringGetFontName.md) - [SyntaxColoring.GetFormatAddSpaceBeforeSemicolon](SyntaxColoringGetFormatAddSpaceBeforeSemicolon.md)

[HTML Version](SyntaxColoringGetFontSize.shtml)