DynaPDF.GetLastTextPosY
-----------------------

Return the vertical 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.GetLastTextPosY"; PDF ) 

**MBS**( **"DynaPDF.GetLastTextPosY";** /\* Return the vertical 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 vertical end position of the last drawn text.  
The y-coordinate is the position of the text's baseline measured in bottom-up coordinates.  
### See also

- [DynaPDF.GetLastTextOffset](DynaPDFGetLastTextOffset.md)
- [DynaPDF.GetLastTextPosX](DynaPDFGetLastTextPosX.md)
- [DynaPDF.GetLastTextPosXAbs](DynaPDFGetLastTextPosXAbs.md)
- [DynaPDF.GetLastTextPosYAbs](DynaPDFGetLastTextPosYAbs.md)
- [DynaPDF.New](DynaPDFNew.md)
- [DynaPDF.SetPageBreakExpression](DynaPDFSetPageBreakExpression.md)
- [DynaPDF.WriteFTextEx](DynaPDFWriteFTextEx.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/Book Creation](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/DynaPDF/Book%20Creation.shtml#3ScriptAnchor_)
- [DynaPDF/Create Text as PDFA](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/DynaPDF/Create%20Text%20as%20PDFA.shtml#3ScriptAnchor_)
- [DynaPDF/Invoice/Invoice](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/DynaPDF/Invoice/Invoice.shtml#3ScriptAnchor_)
- [DynaPDF/Page Layouting](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/DynaPDF/Page%20Layouting.shtml#2ScriptAnchor_)

### Blog Entries

- [Using DynaPDF with Data API for PDF generation](https://www.mbsplugins.de/archive/2026-05-25/Using_DynaPDF_with_Data_API_fo/monkeybreadsoftware_blog_filemaker)
- [Draw images with text using DynaPDF](https://www.mbsplugins.de/archive/2026-01-03/Draw_images_with_text_using_Dy/monkeybreadsoftware_blog_filemaker)
- [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 25th January 2026

  
[DynaPDF.GetLastTextPosXAbs](DynaPDFGetLastTextPosXAbs.md) - [DynaPDF.GetLastTextPosYAbs](DynaPDFGetLastTextPosYAbs.md)

[HTML Version](DynaPDFGetLastTextPosY.shtml)