Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   Crossplatform   Server (Not)   Client   Components   Old   Guides
New in version: 5.0   5.1   5.2   5.3   5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1    Statistic  

DynaPDF.SetLeading

Sets text leading.

Component: DynaPDF
Version: 3.1
Mac OS X: Yes
Windows: Yes
Server: Yes
FileMaker Cloud: Yes

MBS( "DynaPDF.SetLeading"; PDF; leading )

Parameters

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

Result

Returns OK or error message.

Description

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 behaviour.
See also pdfSetLeading in dynapdf manual.

Examples

Set line height:

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

See also


DynaPDF.SetLanguage   -   DynaPDF.SetLineJoinStyle

Feedback: Report problem or ask question.




Links
MBS Real Studio Plugins - Nachhilfe in Eich