DynaPDF.GetLastTextPosYAbs
--------------------------

The function returns the y coordinate of the last printed text.

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

MBS( "DynaPDF.GetLastTextPosYAbs"; PDF ) 

**MBS**( **"DynaPDF.GetLastTextPosYAbs";** /\* The function returns the y coordinate of the last printed 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 OK or error.

### Description

The function returns the y coordinate of the last printed text.   
This function returns the absolute end position of the last drawn text after applying coordinate transformations, if any. The relative end point before applying coordinate transformations is returned by [DynaPDF.GetLastTextPosX](DynaPDFGetLastTextPosX.md) / [DynaPDF.GetLastTextPosY](DynaPDFGetLastTextPosY.md).  
  
The y-coordinate is the position of the text's baseline measured in bottom-up coordinates.  
Note that the reference point of [DynaPDF.WriteFText](DynaPDFWriteFText.md) is the baseline plus font size, independent of the current coordinate system. In contrast, the reference point of [DynaPDF.WriteFText](DynaPDFWriteFText.md) is the baseline if bottom up coordinates are active and the baseline plus font size if top down coordinates are active (see [DynaPDF.SetPageCoords](DynaPDFSetPageCoords.md) for further information).  
  
If the function succeeds the return value is the x- or y-coordinate. This value can be negative depending on the coordinate where the string was placed. If the function fails the return value is a negative error code. An error code is smaller than -33554531.0.  
### See also

- [DynaPDF.GetLastTextOffset](DynaPDFGetLastTextOffset.md)
- [DynaPDF.GetLastTextPosX](DynaPDFGetLastTextPosX.md)
- [DynaPDF.GetLastTextPosXAbs](DynaPDFGetLastTextPosXAbs.md)
- [DynaPDF.GetLastTextPosY](DynaPDFGetLastTextPosY.md)
- [DynaPDF.New](DynaPDFNew.md)
- [DynaPDF.SetPageCoords](DynaPDFSetPageCoords.md)
- [DynaPDF.WriteFText](DynaPDFWriteFText.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.

### 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)
- [MBS FileMaker Plugin, version 14.6pr2](https://www.mbsplugins.de/archive/2024-12-05/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 3th December 2024 , last changed 3th December 2024

  
[DynaPDF.GetLastTextPosY](DynaPDFGetLastTextPosY.md) - [DynaPDF.GetLeading](DynaPDFGetLeading.md)

[HTML Version](DynaPDFGetLastTextPosYAbs.shtml)