# Javascript: TXTextControl.Proofing.removeDictionary Method

> Removes a dictionary from the loaded dictionaries.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 32.0
- **Path:** DS Server > Reference > JavaScript API > Javascript: TXTextControl.Proofing.removeDictionary Method
- **212 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-proofing/removedictionary-method/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-proofing/removedictionary-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-proofing/removedictionary-method/llms-full.txt

---

### Description

Removes a dictionary from the loaded dictionaries.

### Syntax

```javascript
<void> TXTextControl.Proofing.removeDictionary(<string> fileName)
```

### Parameters

| Parameter | Description |
|---|---|
| fileName | The dictionary file name. |

### Examples

The following example demonstrates `TXTextControl.Proofing.removeDictionary` in a practical document-editing workflow. It removes a dictionary from the loaded dictionaries.

```javascript
function removeDictionary(proofing) {
    proofing.removeDictionary("quarterly-report.docx");
}
```

---

## Nearby

- **Previous:** [Javascript: TXTextControl.Proofing.loadUserDictionary Method](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-proofing/loaduserdictionary-method/llms-full.txt)
- **Next:** [Javascript: TXTextControl.Proofing.removeUserDictionary Method](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-proofing/removeuserdictionary-method/llms-full.txt)
