# SelectionBounds Object

> Contains the start position and the length of a selection.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Object
- **Introduced:** 24.0
- **Path:** DS Server > Reference > JavaScript API > SelectionBounds Object
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/selectionbounds/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/selectionbounds/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/selectionbounds/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/ds-server/reference/javascript/selectionbounds/#description)
- [Syntax](https://docs.textcontrol.com/ds-server/reference/javascript/selectionbounds/#syntax)
- [Examples](https://docs.textcontrol.com/ds-server/reference/javascript/selectionbounds/#examples)
- [Members](https://docs.textcontrol.com/ds-server/reference/javascript/selectionbounds/#members)

---

## In This Section

- [Javascript: SelectionBounds.length Property](https://docs.textcontrol.com/ds-server/reference/javascript/selectionbounds/length-property/llms.txt): The length of the selection in characters.
- [Javascript: SelectionBounds.start Property](https://docs.textcontrol.com/ds-server/reference/javascript/selectionbounds/start-property/llms.txt): The 0-based start character position of the selection.

---

## Nearby

- **Previous:** [Javascript: Selection.shrinkFont Method](https://docs.textcontrol.com/ds-server/reference/javascript/selection/shrinkfont-method/llms.txt)
- **Next:** [Javascript: SelectionBounds.length Property](https://docs.textcontrol.com/ds-server/reference/javascript/selectionbounds/length-property/llms.txt)
