# Javascript: InputFormat.getFrameLineColor Method

> Gets the color used to display the color of frame lines at the current text input position.

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

---

### Description

Gets the color used to display the color of frame lines at the current text input position.

### Syntax

```javascript
<void> InputFormat.getFrameLineColor(<RequestColorStringCallback> callback, [<ErrorCallback> errorCallback])
```

### Parameters

| Parameter | Description |
|---|---|
| callback | Receives the color used to display the color of frame lines at the current text input position. |
| errorCallback | Optional. Is called when the operation failed with an error. |

### Examples

The following example demonstrates `InputFormat.getFrameLineColor` in a practical document-editing workflow. It gets the color used to display the color of frame lines at the current text input position.

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

TXTextControl.inputFormat.getFrameLineColor(
    function(color) {
        console.log("get frame line color result:", color);
    },
    onTxError
);
```

---

## Nearby

- **Previous:** [Javascript: InputFormat.getFrameFillColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/inputformat/getframefillcolor-method/llms-full.txt)
- **Next:** [Javascript: InputFormat.getFrameLineWidth Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/inputformat/getframelinewidth-method/llms-full.txt)
