# Javascript: TXTextControl.getTextFrameMarkerLines Method

> Gets 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.getTextFrameMarkerLines Method
- **378 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/gettextframemarkerlines-method/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/gettextframemarkerlines-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/gettextframemarkerlines-method/llms-full.txt

---

### Description

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

### Syntax

```javascript
<void> TXTextControl.getTextFrameMarkerLines(<RequestBooleanCallback> callback, [<ErrorCallback> errorCallback])
```

### Parameters

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

### Examples

The following example demonstrates `TXTextControl.getTextFrameMarkerLines` in a practical document-editing workflow. It gets 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.getTextFrameMarkerLines(
    function(result) {
        if (result) {
            console.log("get text frame marker lines is available.");
        } else {
            console.warn("get text frame marker lines is not available in the current document state.");
        }
    },
    onTxError
);
```

---

## Nearby

- **Previous:** [Javascript: TXTextControl.getTextFields Method](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/gettextfields-method/llms-full.txt)
- **Next:** [Javascript: TXTextControl.getTextParts Method](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/gettextparts-method/llms-full.txt)
