# Javascript: ListFormat.getBulletCharacter Method

> Gets the symbol character for a bulleted list.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 28.0
- **Path:** DS Server > Reference > JavaScript API > Javascript: ListFormat.getBulletCharacter Method
- **300 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/listformat/getbulletcharacter-method/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/listformat/getbulletcharacter-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/listformat/getbulletcharacter-method/llms-full.txt

---

### Description

Gets the symbol character for a bulleted list.

### Syntax

```javascript
<void> ListFormat.getBulletCharacter(<RequestStringCallback> callback, [<ErrorCallback> errorCallback])
```

### Parameters

| Parameter | Description |
|---|---|
| callback | Receives the symbol character for a bulleted list. |
| errorCallback | Optional. Is called when the operation failed with an error. |

### Examples

The following example demonstrates `ListFormat.getBulletCharacter` in a practical document-editing workflow. It gets the symbol character for a bulleted list.

```javascript
function onTxError(error) {
    console.error("TX Text Control error:", error.msg);
    error.handled = true;
}

TXTextControl.listFormat.getBulletCharacter(
    function(result) {
        console.log("get bullet character result:", result);
    },
    onTxError
);
```

---

## Nearby

- **Previous:** [Javascript: ListFormat.Attribute Enumeration](https://docs.textcontrol.com/ds-server/reference/javascript/listformat/attribute-enumeration/llms-full.txt)
- **Next:** [Javascript: ListFormat.getBulletSize Method](https://docs.textcontrol.com/ds-server/reference/javascript/listformat/getbulletsize-method/llms-full.txt)
