# Javascript: ListFormat.Attribute Enumeration

> Determines a certain list format attribute.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Enumeration
- **Introduced:** 28.0
- **Path:** DS Server > Reference > JavaScript API > Javascript: ListFormat.Attribute Enumeration
- **678 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/listformat/attribute-enumeration/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/listformat/attribute-enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/listformat/attribute-enumeration/llms-full.txt

---

### Description

Determines a certain list format attribute.

### Members

| Member | Description |
|---|---|
| Level | Specifies the attribute set through the Level property. |
| LeftIndent | Specifies the attribute set through the LeftIndent property. |
| FormatCharacter | Specifies the attribute set through the FormatCharacter property. |
| NumberFormat | Specifies the attribute set through the NumberFormat property. |
| FirstNumber | Specifies the attribute set through the FirstNumber property. |
| CharBeforeNumber | Specifies the attribute set through the CharBeforeNumber property. |
| CharAfterNumber | Specifies the attribute set through the CharAfterNumber property. |
| RestartNumbering | Specifies the attribute set through the RestartNumbering property. |
| BulletCharacter | Specifies the attribute set through the BulletCharacter property. |
| BulletSize | Specifies the attribute set through the BulletSize property. |
| HangingIndent | Specifies the attribute set through the HangingIndent property. |
| Type | Specifies the attribute set through the Type property. |
| TextBeforeNumber | Specifies the attribute set through the TextBeforeNumber property. |
| TextAfterNumber | Specifies the attribute set through the TextAfterNumber property. |
| FontName | Specifies the attribute set through the FontName property. |
| All | Specifies all attributes of the ListFormat. |

### Examples

The following example uses `TXTextControl.Listformat.Attribute.Level` (specifies the attribute set through the Level property.) in a document-editing workflow.

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

TXTextControl.selection.isCommonListFormatValueSelected(
    TXTextControl.Listformat.Attribute.Level,
    function() {
        console.log("is common list format value selected completed.");
    },
    onTxError
);
```

---

## Nearby

- **Previous:** [ListFormat Object](https://docs.textcontrol.com/ds-server/reference/javascript/listformat/llms-full.txt)
- **Next:** [Javascript: ListFormat.getBulletCharacter Method](https://docs.textcontrol.com/ds-server/reference/javascript/listformat/getbulletcharacter-method/llms-full.txt)
