Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
DynaPDF.SetLeading
Sets text leading.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| DynaPDF | 3.1 | Yes | Yes | Yes | Yes | Yes |
MBS( "DynaPDF.SetLeading"; PDF; leading ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| The PDF reference returned from DynaPDF.New. | ||
| 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 behavior.
See also SetLeading function in DynaPDF manual.
Examples
Set line height:
Set Variable [$r; Value:MBS("DynaPDF.SetLeading"; $pdf; 18)]
See also
- DynaPDF.AddContinueText
- DynaPDF.BeginContinueText
- DynaPDF.GetLeading
- DynaPDF.New
- DynaPDF.SetMetadata
- DynaPDF.SetOpacity
- DynaPDF.WriteFText
Example Databases
Created 18th August 2014, last changed 27th May 2017
DynaPDF.SetLanguage - DynaPDF.SetLineJoinStyle
Feedback: Report problem or ask question.
Links
MBS Xojo Chart Plugins