# Javascript: Paragraph.listFormat Property

> The paragraph's bulleted or numbered list and/or its formatting attributes.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 28.0
- **Path:** TX Text Control .NET Server > Reference > JavaScript API > Javascript: Paragraph.listFormat Property
- **326 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraph/listformat-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraph/listformat-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraph/listformat-property/llms-full.txt

---

### Description

The paragraph's bulleted or numbered list and/or its formatting attributes.

### Syntax

```javascript
<ListFormat> Paragraph.listFormat
```

### Examples

The following example demonstrates `Paragraph.listFormat` in a practical document-editing workflow. The paragraph's bulleted or numbered list and/or its formatting attributes.

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

TXTextControl.textParts.getMainText(function(mainText) {
    const paragraphs = mainText.paragraphs;
    paragraphs.getItem(function(paragraph) {
        if (!paragraph) {
            console.warn("No paragraph is available at the current input position.");
            return;
        }
    
        const listFormat = paragraph.listFormat;
        console.log("list format:", listFormat);
    }, onTxError);
}, onTxError);
```

### Limitations

Read Only.

---

## Nearby

- **Previous:** [Javascript: Paragraph.getText Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraph/gettext-method/llms-full.txt)
- **Next:** [Javascript: Paragraph.save Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraph/save-method/llms-full.txt)
