DynaPDF.GetLastTextPosX
-----------------------

Return the horizontal end position of the last drawn text.

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

MBS( "DynaPDF.GetLastTextPosX"; PDF ) 

**MBS**( **"DynaPDF.GetLastTextPosX";** /\* Return the horizontal end position of the last drawn text. \*/  
**$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 position.

### Description

Return the horizontal end position of the last drawn text.  
### See also

- [DynaPDF.GetLastTextOffset](DynaPDFGetLastTextOffset.md)
- [DynaPDF.GetLastTextPosXAbs](DynaPDFGetLastTextPosXAbs.md)
- [DynaPDF.GetLastTextPosY](DynaPDFGetLastTextPosY.md)
- [DynaPDF.GetLastTextPosYAbs](DynaPDFGetLastTextPosYAbs.md)
- [DynaPDF.New](DynaPDFNew.md)

### Release notes

- **Version 15.0**
    - Added [DynaPDF.GetLastTextPosXAbs](https://www.mbsplugins.eu/DynaPDFGetLastTextPosXAbs.shtml) and [DynaPDF.GetLastTextPosYAbs](https://www.mbsplugins.eu/DynaPDFGetLastTextPosYAbs.shtml) functions.

### Example Databases

- [DynaPDF/Page Layouting](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/DynaPDF/Page%20Layouting.shtml#2ScriptAnchor_)

### Blog Entries

- [New in MBS FileMaker Plugin 15.0](https://www.mbsplugins.de/archive/2025-01-21/New_in_MBS_FileMaker_Plugin_15/monkeybreadsoftware_blog_filemaker)
- [Page Layouting in DynaPDF](https://www.mbsplugins.de/archive/2024-04-05/Page_Layouting_in_DynaPDF/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 18th August 2014 , last changed 3th December 2024

  
[DynaPDF.GetLastTextOffset](DynaPDFGetLastTextOffset.md) - [DynaPDF.GetLastTextPosXAbs](DynaPDFGetLastTextPosXAbs.md)

[HTML Version](DynaPDFGetLastTextPosX.shtml)