DynaPDF.GetFontSize
-------------------

Queries the font size of the active font.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [DynaPDF](component_DynaPDF.md) | [12.3](newinversion123.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "DynaPDF.GetFontSize"; PDF ) 

**MBS**( **"DynaPDF.GetFontSize";** /\* Queries the font size of the active font. \*/  
**$PDF**) /\* The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| PDF | The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). | $pdf |

### Result

Returns OK or error.

### Description

Queries the font size of the active font.   
See also [GetFontSize](https://www.monkeybreadsoftware.com/DynaPDF-Manual/GetFontSize.shtml) function in DynaPDF manual.

### See also

- [DynaPDF.GetContent](DynaPDFGetContent.md)
- [DynaPDF.GetFontCount](DynaPDFGetFontCount.md)
- [DynaPDF.GetFontOrigin](DynaPDFGetFontOrigin.md)
- [DynaPDF.GetFontSelMode](DynaPDFGetFontSelMode.md)
- [DynaPDF.GetFontWeight](DynaPDFGetFontWeight.md)
- [DynaPDF.GetTextRise](DynaPDFGetTextRise.md)
- [DynaPDF.New](DynaPDFNew.md)
- [DynaPDF.SetFontEx](DynaPDFSetFontEx.md)

### Release notes

- **Version 12.3**
    - Added [DynaPDF.GetFontSize](https://www.mbsplugins.eu/DynaPDFGetFontSize.shtml) function.

### Blog Entries

- [MBS FileMaker Plugin 12.3](https://www.mbsplugins.de/archive/2022-07-19/MBS_FileMaker_Plugin_123/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 12.3pr6](https://www.mbsplugins.de/archive/2022-07-05/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 2nd July 2022 , last changed 29th January 2023

  
[DynaPDF.GetFontSelMode](DynaPDFGetFontSelMode.md) - [DynaPDF.GetFontWeight](DynaPDFGetFontWeight.md)

[HTML Version](DynaPDFGetFontSize.shtml)