# Javascript: TXTextControl.AutoGenerationType Enumeration

> Defines the type of document link auto-generation.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Enumeration
- **Introduced:** 29.0
- **Path:** TX Text Control .NET Server > Reference > JavaScript API > Javascript: TXTextControl.AutoGenerationType Enumeration
- **205 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/autogenerationtype-enumeration/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/autogenerationtype-enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/autogenerationtype-enumeration/llms-full.txt

---

### Description

Defines the type of document link auto-generation.

### Members

| Member | Description |
|---|---|
| None | The document link is not automatically generated. |
| TableOfContents | The document link has automatically been generated for an entry in a table of contents. |

### Examples

The following example uses `TXTextControl.AutoGenerationType.TableOfContents` (the document link has automatically been generated for an entry in a table of contents.) in a document-editing workflow.

```javascript
const value = TXTextControl.AutoGenerationType.TableOfContents;
console.log("The document link has automatically been generated for an entry in a table of contents.", value);
```

---

## Nearby

- **Previous:** [Javascript: TXTextControl.AutoBaseline Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/autobaseline-enumeration/llms-full.txt)
- **Next:** [Javascript: TXTextControl.BarcodeAlignment Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/barcodealignment-enumeration/llms-full.txt)
