# Javascript: TXTextControl.Frame Enumeration

> Determines which frame borders are visible of an image, text frame, chart, barcode or drawing.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Enumeration
- **Introduced:** 26.0
- **Path:** TX Text Control .NET Server > Reference > JavaScript API > Javascript: TXTextControl.Frame Enumeration
- **360 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/frame-enumeration/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/frame-enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/frame-enumeration/llms-full.txt

---

### Description

Determines which frame borders are visible of an image, text frame, chart, barcode or drawing.

### Members

| Member | Description |
|---|---|
| LeftLine | Left frame line. |
| RightLine | Right frame line. |
| TopLine | Frame line at the top. |
| BottomLine | Frame line at the bottom. |
| Box | Complete frame. |
| MergedBox | The paragraph has a complete frame. If the following or the previous paragraph also has a frame, the frames are merged to a single frame. |
| None | No frame. |

### Examples

The following example uses `TXTextControl.Frame.LeftLine` (left frame line.) in a document-editing workflow.

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

TXTextControl.paragraphFormat.setFrame(
    TXTextControl.Frame.LeftLine,
    function() {
        console.log("set frame completed.");
    },
    onTxError
);
```

---

## Nearby

- **Previous:** [Javascript: TXTextControl.FormulaReferenceStyle Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/formulareferencestyle-enumeration/llms-full.txt)
- **Next:** [Javascript: TXTextControl.FrameInsertionMode Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/frameinsertionmode-enumeration/llms-full.txt)
