# Javascript: InputFormat.getRightFrameLine Method

> Gets a value specifying whether there is a frame line at the right side of the text.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 28.0
- **Path:** TX Text Control .NET Server > Reference > JavaScript API > Javascript: InputFormat.getRightFrameLine Method
- **374 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/inputformat/getrightframeline-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/inputformat/getrightframeline-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/inputformat/getrightframeline-method/llms-full.txt

---

### Description

Gets a value specifying whether there is a frame line at the right side of the text.

### Syntax

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

### Parameters

| Parameter | Description |
|---|---|
| callback | Receives whether there is a frame line at the right side of the text. |
| errorCallback | Optional. Is called when the operation failed with an error. |

### Examples

The following example demonstrates `InputFormat.getRightFrameLine` in a practical document-editing workflow. It gets a value specifying whether there is a frame line at the right side of the text.

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

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

---

## Nearby

- **Previous:** [Javascript: InputFormat.getRightAligned Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/inputformat/getrightaligned-method/llms-full.txt)
- **Next:** [Javascript: InputFormat.getRightIndent Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/inputformat/getrightindent-method/llms-full.txt)
