API referenceText

pdfGetTextRise

Read the current text rise (PDF Ts operand — vertical baseline

CategoryText state

Purpose — Read the current text rise (PDF Ts operand — vertical baseline offset, for superscript/subscript).

Declarations

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

Return value — Current rise in unscaled text-space units (points at text size 1); 0.0 if never set or the handle is invalid.

See alsopdfSetTextRise

C# (P/Invoke)

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

Getters

Exported names

pdfGetTextRise

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.