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.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

DynaPDF.GetLeading

The function returns the current leading.

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

Parameters

Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf

Result

Returns leading value.

Description

The function returns the current leading.
The leading is the distance between two text lines. The default leading in PDF is the font size. The property is used by the function DynaPDF.AddContinueText and DynaPDF.WriteFText. A value of 0 determines that the font size should be used as leading, this is the default behavior.
Default value = 0

See also GetLeading function in DynaPDF manual.

See also

Created 18th August 2014, last changed 3th February 2021


DynaPDF.GetLastTextPosY - DynaPDF.GetLineWidth

Feedback: Report problem or ask question.