DynaPDF.GetFontWeight
---------------------

Returns the weight that will be used to emulate a bold font style.

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

MBS( "DynaPDF.GetFontWeight"; PDF ) 

**MBS**( **"DynaPDF.GetFontWeight";** /\* Returns the weight that will be used to emulate a bold font style. \*/  
**$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 number or error.

### Description

Returns the weight that will be used to emulate a bold font style.  
See also [DynaPDF.SetFontWeight](DynaPDFSetFontWeight.md).  
See also [GetFontWeight](https://www.monkeybreadsoftware.com/DynaPDF-Manual/GetFontWeight.shtml) function in DynaPDF manual.

### See also

- [DynaPDF.GetFontCount](DynaPDFGetFontCount.md)
- [DynaPDF.GetFontOrigin](DynaPDFGetFontOrigin.md)
- [DynaPDF.GetFontSelMode](DynaPDFGetFontSelMode.md)
- [DynaPDF.GetFontSize](DynaPDFGetFontSize.md)
- [DynaPDF.GetFTextHeight](DynaPDFGetFTextHeight.md)
- [DynaPDF.GetPageHeight](DynaPDFGetPageHeight.md)
- [DynaPDF.GetTemplHeight](DynaPDFGetTemplHeight.md)
- [DynaPDF.New](DynaPDFNew.md)
- [DynaPDF.SetFontOrigin](DynaPDFSetFontOrigin.md)
- [DynaPDF.SetPageHeight](DynaPDFSetPageHeight.md)

This function checks for a license.

Created 21st October 2014 , last changed 9th November 2021

  
[DynaPDF.GetFontSize](DynaPDFGetFontSize.md) - [DynaPDF.GetFontsAsJSON](DynaPDFGetFontsAsJSON.md)

[HTML Version](DynaPDFGetFontWeight.shtml)