DynaPDF.SetTabLen
-----------------

Sets tab length.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [DynaPDF](component_DynaPDF.md) | [13.2](newinversion132.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "DynaPDF.SetTabLen"; PDF; Value ) 

**MBS**( **"DynaPDF.SetTabLen";** /\* Sets tab length. \*/  
**$PDF**; /\* The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). \*/   
**$Value**) /\* The new space count to use for tabs.e.g. 10 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| PDF | The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). | $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](DynaPDFWriteFText.md) 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](https://www.monkeybreadsoftware.com/DynaPDF-Manual/SetTabLen.shtml) function in DynaPDF manual.

### Examples

Set tab length to 10:

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

- [DynaPDF.GetTabLen](DynaPDFGetTabLen.md)
- [DynaPDF.GetTrapped](DynaPDFGetTrapped.md)
- [DynaPDF.New](DynaPDFNew.md)
- [DynaPDF.SetContent](DynaPDFSetContent.md)
- [DynaPDF.SetTrapped](DynaPDFSetTrapped.md)
- [DynaPDF.WriteFText](DynaPDFWriteFText.md)

### Release notes

- **Version 13.2**
    - Added [DynaPDF.SetTabLen](https://www.mbsplugins.eu/DynaPDFSetTabLen.shtml) and [DynaPDF.SetTabLen](https://www.mbsplugins.eu/DynaPDFSetTabLen.shtml) functions.

### Blog Entries

- [New in MBS FileMaker Plugin 13.2](https://www.mbsplugins.de/archive/2023-05-17/New_in_MBS_FileMaker_Plugin_13/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 13.2pr1](https://www.mbsplugins.de/archive/2023-04-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

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

  
[DynaPDF.SetStrokeColorValue](DynaPDFSetStrokeColorValue.md) - [DynaPDF.SetTemplBBox](DynaPDFSetTemplBBox.md)

[HTML Version](DynaPDFSetTabLen.shtml)