Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

DynaPDF.GetLeading

The function returns the current leading.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 3.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.GetLeading"; PDF )   More

Parameters

Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf

Result

Returns leading value.

Description

The function returns the current leading.
The leading is the distance between two text lines. The default leading in PDF is the font size. The property is used by the function DynaPDF.AddContinueText and DynaPDF.WriteFText. A value of 0 determines that the font size should be used as leading, this is the default behavior.
Default value = 0

See also GetLeading function in DynaPDF manual.

See also

This function checks for a license.

Created 18th August 2014, last changed 3th February 2021


DynaPDF.GetLastTextPosY - DynaPDF.GetLineWidth