# Javascript: InputFormat.getInnerHorizontalFrameLines Method

> Gets a value specifying whether all inner horizontal frame lines are set for the selected text.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 28.0
- **Path:** DS Server > Reference > JavaScript API > Javascript: InputFormat.getInnerHorizontalFrameLines Method
- **390 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/inputformat/getinnerhorizontalframelines-method/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/inputformat/getinnerhorizontalframelines-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/inputformat/getinnerhorizontalframelines-method/llms-full.txt

---

### Description

Gets a value specifying whether all inner horizontal frame lines are set for the selected text.

### Syntax

```javascript
<void> InputFormat.getInnerHorizontalFrameLines(<RequestBooleanCallback> callback, [<ErrorCallback> errorCallback])
```

### Parameters

| Parameter | Description |
|---|---|
| callback | Receives whether all inner horizontal frame lines are set for the selected text. |
| errorCallback | Optional. Is called when the operation failed with an error. |

### Examples

The following example demonstrates `InputFormat.getInnerHorizontalFrameLines` in a practical document-editing workflow. It gets a value specifying whether all inner horizontal frame lines are set for the selected text.

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

TXTextControl.inputFormat.getInnerHorizontalFrameLines(
    function(result) {
        if (result) {
            console.log("get inner horizontal frame lines is available.");
        } else {
            console.warn("get inner horizontal frame lines is not available in the current document state.");
        }
    },
    onTxError
);
```

---

## Nearby

- **Previous:** [Javascript: InputFormat.getHangingIndent Method](https://docs.textcontrol.com/ds-server/reference/javascript/inputformat/gethangingindent-method/llms-full.txt)
- **Next:** [Javascript: InputFormat.getInnerVerticalFrameLines Method](https://docs.textcontrol.com/ds-server/reference/javascript/inputformat/getinnerverticalframelines-method/llms-full.txt)
