# TXSpell.DictionariesDirectoryPath Property

> Gets or sets the path to the default dictionaries folder. The default value is "(Auto)" that determines the Dictionaries directory at the application's root folder or in the \Assembly\ subdirectory in the development machine's TX Spell .NET installation directory.

- **Product:** TX Spell .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 9.0
- **Namespace:** `TXTextControl.Proofing`
- **Package:** `TXTextControl.TXSpell.WinForms.SDK` (assembly `TXSpell.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TXSpell.Core.SDK` (assembly `TXSpell.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXSpell.dll` from the setup
- **Path:** TX Spell .NET for Windows Forms > Reference > TXTextControl.Proofing > TXSpell.DictionariesDirectoryPath Property
- **476 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspell/dictionariesdirectorypath-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspell/dictionariesdirectorypath-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspell/dictionariesdirectorypath-property/llms-full.txt

---

### Description

Gets or sets the path to the default dictionaries folder. The default value is "(Auto)" that determines the Dictionaries directory at the application's root folder or in the `\Assembly\` subdirectory in the development machine's TX Spell .NET installation directory.

### Syntax

```csharp
public string DictionariesDirectoryPath { get; set; }
```

```vbnet
Public Property DictionariesDirectoryPath As String
```

### Examples

The following example uses `TXSpell.DictionariesDirectoryPath` to configure dictionaries directory path as part of the txspell workflow. The configured value is checked before the workflow continues.

```csharp
tXSpell.DictionariesDirectoryPath = "document.docx";
if (!string.IsNullOrWhiteSpace(tXSpell.DictionariesDirectoryPath))
{
    Console.WriteLine($"Dictionaries Directory Path: {tXSpell.DictionariesDirectoryPath}");
}
```

```vbnet
tXSpell.DictionariesDirectoryPath = "document.docx"
If Not String.IsNullOrWhiteSpace(tXSpell.DictionariesDirectoryPath) Then
    Console.WriteLine($"Dictionaries Directory Path: {tXSpell.DictionariesDirectoryPath}")
End If
```

---

## Nearby

- **Previous:** [TXSpell.Dictionaries Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspell/dictionaries-property/llms-full.txt)
- **Next:** [TXSpell.GetHyphenationPoint Method](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspell/gethyphenationpoint-method/llms-full.txt)
