# Javascript: TXTextControl.setTextFrameMarkerLines Method

> Sets whether text frames that have no border line are shown with marker lines.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 28.0
- **Path:** DS Server > Reference > JavaScript API > Javascript: TXTextControl.setTextFrameMarkerLines Method
- **361 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/settextframemarkerlines-method/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/settextframemarkerlines-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/settextframemarkerlines-method/llms-full.txt

---

### Description

Sets whether text frames that have no border line are shown with marker lines.

### Syntax

```javascript
<void> TXTextControl.setTextFrameMarkerLines(<boolean> textFrameMarkerLines, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])
```

### Parameters

| Parameter | Description |
|---|---|
| textFrameMarkerLines | Specifies whether text frames that have no border line are shown with marker lines. |
| callback | Optional. Is called when the operation completed. |
| errorCallback | Optional. Is called when the operation failed with an error. |

### Examples

The following example demonstrates `TXTextControl.setTextFrameMarkerLines` in a practical document-editing workflow. It sets whether text frames that have no border line are shown with marker lines.

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

TXTextControl.setTextFrameMarkerLines(
    true,
    function() {
        console.log("set text frame marker lines completed.");
    },
    onTxError
);
```

---

## Nearby

- **Previous:** [Javascript: TXTextControl.setTextBackColor Method](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/settextbackcolor-method/llms-full.txt)
- **Next:** [Javascript: TXTextControl.setViewMode Method](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/setviewmode-method/llms-full.txt)
