# RequestSelectionBoundsCallback Function

> Callback function for methods requesting the start position and length of the current selection.

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

---

## On This Page

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

---

## Nearby

- **Previous:** [RequestSectionCallback Function](https://docs.textcontrol.com/ds-server/reference/javascript/requestsectioncallback/llms.txt)
- **Next:** [RequestSelectionFormFieldCallback Function](https://docs.textcontrol.com/ds-server/reference/javascript/requestselectionformfieldcallback/llms.txt)
