# Javascript: ParagraphFormat.getFrameLineColor Method

> Gets the color used for the frame lines of a paragraph.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 26.0
- **Path:** DS Server > Reference > JavaScript API > Javascript: ParagraphFormat.getFrameLineColor Method
- **307 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/paragraphformat/getframelinecolor-method/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/paragraphformat/getframelinecolor-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/paragraphformat/getframelinecolor-method/llms-full.txt

---

### Description

Gets the color used for the frame lines of a paragraph.

### Syntax

```javascript
<void> ParagraphFormat.getFrameLineColor(<RequestStringCallback> callback, [<ErrorCallback> errorCallback])
```

### Parameters

| Parameter | Description |
|---|---|
| callback | Receives the color used for the frame lines of a paragraph. |
| errorCallback | Optional. Is called when the operation failed with an error. |

### Examples

The following example demonstrates `ParagraphFormat.getFrameLineColor` in a practical document-editing workflow. It gets the color used for the frame lines of a paragraph.

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

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

---

## Nearby

- **Previous:** [Javascript: ParagraphFormat.getFrameDistance Method](https://docs.textcontrol.com/ds-server/reference/javascript/paragraphformat/getframedistance-method/llms-full.txt)
- **Next:** [Javascript: ParagraphFormat.getFrameLineWidth Method](https://docs.textcontrol.com/ds-server/reference/javascript/paragraphformat/getframelinewidth-method/llms-full.txt)
