# Javascript: ParagraphFormat.Attribute Enumeration

> Determines a certain paragraph format attribute.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Enumeration
- **Introduced:** 28.0
- **Path:** TX Text Control .NET Server > Reference > JavaScript API > Javascript: ParagraphFormat.Attribute Enumeration
- **893 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/attribute-enumeration/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/attribute-enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/attribute-enumeration/llms-full.txt

---

### Description

Determines a certain paragraph format attribute.

### Members

| Member | Description |
|---|---|
| Alignment | Specifies the attribute set through the Alignment property. |
| LeftIndent | Specifies the attribute set through the LeftIndent property. |
| RightIndent | Specifies the attribute set through the RightIndent property. |
| TopDistance | Specifies the attribute set through the TopDistance property. |
| BottomDistance | Specifies the attribute set through the BottomDistance property. |
| LineSpacing | Specifies the attribute set through the LineSpacing property. |
| AbsoluteLineSpacing | Specifies the attribute set through the AbsoluteLineSpacing property. |
| TabPositions | Specifies the attribute set through the TabPositions property. |
| TabTypes | Specifies the attribute set through the TabTypes property. |
| Frame | Specifies the attribute set through the Frame property. |
| FrameStyle | Specifies the attribute set through the FrameStyle property. |
| FrameLineWidth | Specifies the attribute set through the FrameLineWidth property. |
| FrameDistance | Specifies the attribute set through the FrameDistance property. |
| HangingIndent | Specifies the attribute set through the HangingIndent property. |
| KeepLinesTogether | Specifies the attribute set through the KeepLinesTogether property. |
| KeepWithNext | Specifies the attribute set through the KeepWithNext property. |
| PageBreakBefore | Specifies the attribute set through the PageBreakBefore property. |
| WidowOrphanLines | Specifies the attribute set through the WidowOrphanLines property. |
| Direction | Specifies the attribute set through the Direction property. |
| Justification | Specifies the attribute set through the Justification property. |
| BackColor | Specifies the attribute set through the BackColor property. |
| FrameLineColor | Specifies the attribute set through the FrameLineColor property. |
| All | Specifies all attributes of the ParagraphFormat. |

### Examples

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

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

TXTextControl.selection.isCommonPargraphFormatValueSelected(
    TXTextControl.Paragraphformat.Attribute.Alignment,
    function() {
        console.log("is common pargraph format value selected completed.");
    },
    onTxError
);
```

---

## Nearby

- **Previous:** [ParagraphFormat Object](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/llms-full.txt)
- **Next:** [Javascript: ParagraphFormat.getAbsoluteLineSpacing Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/getabsolutelinespacing-method/llms-full.txt)
