Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

DynaPDF.SetTabLen

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

Parameters

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

Result

Returns OK or error.

Description

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.

Examples

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 license.

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


DynaPDF.SetStrokeColorValue - DynaPDF.SetTemplBBox