API referenceText

pdfGetLastTextPosY

Y coordinate after (or at the start of, depending on the last

CategoryWrite-position tracking

Purpose — Y coordinate after (or at the start of, depending on the last writer used) the most recent successful text write.

Declarations

C
double __stdcall pdfGetLastTextPosY(PPDF IPDF);
Delphi
function pdfGetLastTextPosY(const IPDF: PPDF): Double; stdcall; external 'LumasPdf.dll';

Return value — Last tracked Y position; 0.0 if nothing written yet.

See alsopdfGetLastTextPosYAbs

C# (P/Invoke)

wrappers/dotnet/LumasPdf.cs
public static extern double pdfGetLastTextPosY(IntPtr IPDF);
Area
Text
Category

Getters

Exported names

pdfGetLastTextPosY

String variants

The …A form takes UTF-8, …W takes UTF-16; a bare name aliases the ANSI form.

See working code

Worked examples — complete programs in ten languages.