# NumberingAttribute Property

> Sets or returns numbered list attributes used by the next ListType call: format (Arabic, letters, Roman), level, start number, positions, pre and post text.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Text Control ActiveX > API Reference > TXTextControl > NumberingAttribute Property
- **985 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/numberingattribute-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/numberingattribute-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/numberingattribute-property/llms-full.txt

---

This property returns or sets attributes for numbered lists. A new attribute set with this property has only effect when the [ListType](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/listtype-property/llms-full.txt) property is used the next time.

### Syntax

```vbscript
TXTextControl.NumberingAttribute(Attribute) [= value]
```

### Parameters

| Parameter | Description |
|---|---|
| Attribute | Determines the attribute that is to be changed or returned. Possible values are listed in Constants. |

### Constants

Valid values for the Attribute parameter are:

| Constant | Description |
|---|---|
| txNumberingContinue (0) | Specifies that the current paragraph continues the numbered list if it is part of a list. To restart a list use **txNumberingReStart**. |
| txNumberingFormat (1) | Specifies the format of a numbered list. Possible values are: |
| txNumberingFormatChar (2) | Specifies the code of the character that defines the formatting of the gap between the number character and the following text. Possible codes are: |
| txNumberingLevel (3) | Specifies the level of the numbered list. The topmost level has the number one, the maximum possible level is 10. |
| txNumberingPos (4) | Defines the position of the number character in [twips](https://docs.textcontrol.com/tx-text-control-activex/document-editor/viewing/#measure-in-twips). |
| txNumberingPostChar (5) | Specifies an additional character that is displayed behind the number character. This property is obsolete, the txNumberingPostText Attribute must be used instead. |
| txNumberingPreChar (6) | Specifies an additional character that is displayed in front of the number character. This property is obsolete, the txNumberingPreText Attribute must be used instead. |
| txNumberingReStart (7) | If the current paragraph is part of a numbered list, this value specifies that a new list begins. The displayed number is given through **txNumberingStart**. Use **txNumberingContinue** to continue the list. |
| txNumberingStart (8) | Specifies the starting number of the numbered list. For example, if this attribute is 3 and **txNumberingFormat** is 4 (small letters), the list starts with 'c'. |
| txNumberingTextPos (9) | Defines, in [twips](https://docs.textcontrol.com/tx-text-control-activex/document-editor/viewing/#measure-in-twips), the position of the text that follows the number character. |
| txNumberingPostText (10) | Specifies additional text which is displayed behind the number character. The maximum length of the text is 20 characters. |
| txNumberingPreText (11) | Specifies additional text which is displayed in front of the number character. The maximum length of the text is 20 characters. |

#### txNumberingFormat (1)

| Code | Meaning |
|---|---|
| 3 | The list is numbered with Arabic numbers (1, 2, 3, ...). |
| 4 | The list is numbered with small letters (a, b, c, ...). |
| 5 | The list is numbered with capital letters (A, B, C, ...). |
| 6 | The list is numbered with Roman numbers (I, II, III, ...). |
| 7 | The list is numbered with small Roman numbers (i, ii, iii, ...). |

#### txNumberingFormatChar (2)

| Code | Meaning |
|---|---|
| 0 | The text immediately follows the numbering character. |
| 9 | The text is displayed at the next tabulator position. |
| 32 | The text follows the numbering character separated with a space character. |

### Data Types

| Name | Data type |
|---|---|
| txNumberingContinue | Integer |
| txNumberingFormat | Integer |
| txNumberingFormatChar | Integer |
| txNumberingLevel | Integer |
| txNumberingPos | Integer |
| txNumberingPostChar | String |
| txNumberingPreChar | String |
| txNumberingReStart | Integer |
| txNumberingStart | Integer |
| txNumberingTextPos | Integer |
| txNumberingPostText | String |
| txNumberingPreText | String |

### Limitations

Run time only.

### See Also

- [BulletAttribute Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/bulletattribute-property/llms-full.txt)
- [ListAttrDialog Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/listattrdialog-method/llms-full.txt)
- [ListType Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/listtype-property/llms-full.txt)
- [Programming Category: Bullets and Numbered Lists](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/lists/llms-full.txt)

---

## Nearby

- **Previous:** [Move Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/move-event/llms-full.txt)
- **Next:** [ObjectAttrDialog Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/objectattrdialog-method/llms-full.txt)
