# FormatterSettings

> Class for SmartFormatter settings. Properties should be considered as 'init-only' like implemented in C# 9. Any changes after passing settings as argument to CTORs may not have effect.

## Definition

* **Type:** Class
* **Namespace:** [Unity.SmartStrings.Core.Settings](/engine/6000.7/script-reference/unity/smartstrings/core/settings.md)
* **Assembly:** UnityEngine.SmartStringsModule

```csharp
public class FormatterSettings
```

## Properties

| Property                                                                                                                               | Description                                                                                                                                                                                                                                                                                       |
| -------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [AlignmentFillCharacter](/engine/6000.7/script-reference/unity/smartstrings/core/settings/formattersettings/alignmentfillcharacter.md) | Character used to pre-align or post-align items, for example `{Placeholder,10}` for an alignment width of 10. The default is the space character (0x20).                                                                                                                                          |
| [ErrorAction](/engine/6000.7/script-reference/unity/smartstrings/core/settings/formattersettings/erroraction.md)                       | Behavior that the [SmartFormatter](/engine/6000.7/script-reference/unity/smartstrings/smartformatter.md) applies when a formatting error occurs. The default is [FormatErrorAction.ThrowError](/engine/6000.7/script-reference/unity/smartstrings/core/settings/formaterroraction/throwerror.md). |
