GMImage.GetFontPointSize
------------------------

Queries the Font point size.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [GraphicsMagick](component_GraphicsMagick.md) | [2.0](newinversion20.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "GMImage.GetFontPointSize"; ImageRef ) 

**MBS**( **"GMImage.GetFontPointSize";** /\* Queries the Font point size. \*/  
**$ImageRef**) /\* The image reference number.e.g. 1 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| ImageRef | The image reference number. | 1 |

### Result

Returns a number.

### Description

Queries the Font point size.  
### See also

- [GMImage.SetFontPointSize](GMImageSetFontPointSize.md)

This function checks for a license.

Created 18th August 2014 , last changed 24th June 2025

  
[GMImage.GetFontFamily](GMImageGetFontFamily.md) - [GMImage.GetFontStretch](GMImageGetFontStretch.md)

[HTML Version](GMImageGetFontPointsize.shtml)