Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
DynaPDF.GetLastTextPosYAbs
The function returns the y coordinate of the last printed text.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 15.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "DynaPDF.GetLastTextPosYAbs"; PDF ) More
Parameters
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. |
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 / DynaPDF.GetLastTextPosY.
The y-coordinate is the position of the text's baseline measured in bottom-up coordinates.
Note that the reference point of DynaPDF.WriteFText is the baseline plus font size, independent of the current coordinate system. In contrast, the reference point of DynaPDF.WriteFText is the baseline if bottom up coordinates are active and the baseline plus font size if top down coordinates are active (see DynaPDF.SetPageCoords 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
- DynaPDF.GetLastTextPosX
- DynaPDF.GetLastTextPosXAbs
- DynaPDF.GetLastTextPosY
- DynaPDF.New
- DynaPDF.SetPageCoords
- DynaPDF.WriteFText
Release notes
- Version 15.0
- Added DynaPDF.GetLastTextPosXAbs and DynaPDF.GetLastTextPosYAbs functions.
Blog Entries
This function checks for a license.
Created 3th December 2024, last changed 3th December 2024
