# BulletAttribute Property

> Returns or sets bulleted list attributes: bullet character, gap format, list level up to 10, bullet and text positions in twips, bullet font size and font name.

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

---

This property returns or sets attributes for bulleted 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.BulletAttribute(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 |
|---|---|
| txBulletChar (0) | Specifies the character code of the bullet character. This value must be the code of a character in the Unicode character set. |
| txBulletFormatChar (1) | Specifies the code of the character that defines the formatting of the gap between the bullet character and the following text. Possible codes are: |
| txBulletLevel (2) | Specifies the level of the bulleted list. The topmost level has the number one, the maximum possible level is 10. |
| txBulletPos (3) | Defines the position of the bullet character in [twips](https://docs.textcontrol.com/tx-text-control-activex/document-editor/viewing/#measure-in-twips). |
| txBulletSize (4) | Defines the font size of the bullet character in [twips](https://docs.textcontrol.com/tx-text-control-activex/document-editor/viewing/#measure-in-twips). If this attribute is -1, Text Control displays the bullet character with the font size of the following text. |
| txBulletTextPos (5) | 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 bullet character. |
| txBulletFont (6) | Defines the name of the font which is used to display the bullet character. |

#### txBulletFormatChar (1)

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

### Data Types

| Name | Data type |
|---|---|
| txBulletChar | Integer |
| txBulletFormatChar | Integer |
| txBulletLevel | Integer |
| txBulletPos | Integer |
| txBulletSize | Integer |
| txBulletTextPos | Integer |
| txBulletFont | String |

### Limitations

Run time only.

### See Also

- [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)
- [NumberingAttribute Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/numberingattribute-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:** [BorderStyle Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/borderstyle-property/llms-full.txt)
- **Next:** [ButtonBarHandle Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/buttonbarhandle-property/llms-full.txt)
