Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1    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 )


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

DynaPDF.SetLanguage   -   DynaPDF.SetLineJoinStyle

Feedback: Report problem or ask question.

MBS Xojo PDF Plugins