DynaPDF.GetFontOrigin
---------------------

Returns the current font origin.

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

MBS( "DynaPDF.GetFontOrigin"; PDF ) 

**MBS**( **"DynaPDF.GetFontOrigin";** /\* Returns the current font origin. \*/  
**$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 value or error.

### Description

Returns the current font origin.  
The font origin is automatically set to orTopLeft or orDownLeft if the coordinate system will be changed. The origin can be changed at runtime with the function [DynaPDF.SetFontOrigin](DynaPDFSetFontOrigin.md).  
Returns DownLeft (BaseLine) or TopLeft (Upper left corner of the font's bounding box).  
See also [GetFontOrigin](https://www.monkeybreadsoftware.com/DynaPDF-Manual/GetFontOrigin.shtml) function in DynaPDF manual.

### See also

- [DynaPDF.GetFontAsJSON](DynaPDFGetFontAsJSON.md)
- [DynaPDF.GetFontSize](DynaPDFGetFontSize.md)
- [DynaPDF.GetFontWeight](DynaPDFGetFontWeight.md)
- [DynaPDF.New](DynaPDFNew.md)
- [DynaPDF.SetFont](DynaPDFSetFont.md)
- [DynaPDF.SetFontOrigin](DynaPDFSetFontOrigin.md)
- [DynaPDF.SetFontWeight](DynaPDFSetFontWeight.md)

This function checks for a license.

Created 21st October 2014 , last changed 21st October 2014

  
[DynaPDF.GetFontCount](DynaPDFGetFontCount.md) - [DynaPDF.GetFontSelMode](DynaPDFGetFontSelMode.md)

[HTML Version](DynaPDFGetFontOrigin.shtml)