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


Sets text leading.

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


Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
leading New leading size or zero. 0


Returns OK or error message.


Sets text leading.
The function sets the leading that is used by the functions DynaPDF.AddContinueText and DynaPDF.WriteFText to calculate the distance between two text lines. The default leading in PDF is the font size. A value of 0 determines that the font size should be used as leading, this is the default behavior.

See also SetLeading function in DynaPDF manual.


Set line height:

Set Variable [$r; Value:MBS("DynaPDF.SetLeading"; $pdf; 18)]

See also

Example Databases

This function checks for a license.

Created 18th August 2014, last changed 27th May 2017

DynaPDF.SetLanguage - DynaPDF.SetLineJoinStyle