# Javascript: PageBorder.setBottomLineWidth Method

> Sets the width of the bottom border line.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 26.0
- **Path:** DS Server > Reference > JavaScript API > Javascript: PageBorder.setBottomLineWidth Method
- **364 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/pageborder/setbottomlinewidth-method/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/pageborder/setbottomlinewidth-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/pageborder/setbottomlinewidth-method/llms-full.txt

---

### Description

Sets the width of the bottom border line.

### Syntax

```javascript
<void> PageBorder.setBottomLineWidth(<number> bottomLineWidth, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])
```

### Parameters

| Parameter | Description |
|---|---|
| bottomLineWidth | The width of the bottom border line. |
| callback | Optional. Is called when the operation completed. |
| errorCallback | Optional. Is called when the operation failed with an error. |

### Examples

The following example demonstrates `PageBorder.setBottomLineWidth` in a practical document-editing workflow. It sets the width of the bottom border line.

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

function configureBottomLineWidth(pageBorder) {
    pageBorder.setBottomLineWidth(
        1440,
        function() {
            console.log("set bottom line width completed.");
        },
        onTxError
    );
}
```

---

## Nearby

- **Previous:** [Javascript: PageBorder.setBottomLineColor Method](https://docs.textcontrol.com/ds-server/reference/javascript/pageborder/setbottomlinecolor-method/llms-full.txt)
- **Next:** [Javascript: PageBorder.setFirstPageOnly Method](https://docs.textcontrol.com/ds-server/reference/javascript/pageborder/setfirstpageonly-method/llms-full.txt)
