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: 12.0   12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3    Statistic    FMM    Blog  


Sets tab length.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 13.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.SetTabLen"; PDF; Value )   More


Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
Value The new space count to use for tabs. 10


Returns OK or error.


Sets tab length.
Sets the tabulator length, specified in number of spaces, which will be used to emulate tabulators during text formatting (see DynaPDF.WriteFText for further information).
Because tabulators are emulated with spaces they have no fixed with. The width of a tabulator depends on the width of the space character of the active font.
Default value = 3 (min = 1, max = 256)

See also SetTabLen function in DynaPDF manual.


Set tab length to 10:

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

See also

Release notes

Blog Entries

This function checks for a paid license.

Created 22nd March 2023, last changed 22nd March 2023

DynaPDF.SetStrokeColorValue - DynaPDF.SetTemplBBox

💬 Ask a question or report a problem

Start Chat