Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


Sets text leading.

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


Parameter Description Example value
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

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

DynaPDF.SetLanguage   -   DynaPDF.SetLineJoinStyle

Feedback: Report problem or ask question.

MBS Xojo PDF Plugins