Components All MacOS (Only) Windows (Only) Linux (Only, Not) iOS (Only, Not)
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old
12.3 12.4 12.5 13.0 13.1 13.2 13.3 13.4 13.5 14.0


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


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


Returns leading value.


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

💬 Ask a question or report a problem