# Javascript: Selection.setStrikeout Method

> Sets the strikeout attribute of the selected text.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 24.0
- **Path:** DS Server > Reference > JavaScript API > Javascript: Selection.setStrikeout Method
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/selection/setstrikeout-method/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/selection/setstrikeout-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/selection/setstrikeout-method/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/ds-server/reference/javascript/selection/setstrikeout-method/#description)
- [Syntax](https://docs.textcontrol.com/ds-server/reference/javascript/selection/setstrikeout-method/#syntax)
- [Parameters](https://docs.textcontrol.com/ds-server/reference/javascript/selection/setstrikeout-method/#parameters)
- [Examples](https://docs.textcontrol.com/ds-server/reference/javascript/selection/setstrikeout-method/#examples)

---

## Nearby

- **Previous:** [Javascript: Selection.setStart Method](https://docs.textcontrol.com/ds-server/reference/javascript/selection/setstart-method/llms.txt)
- **Next:** [Javascript: Selection.setText Method](https://docs.textcontrol.com/ds-server/reference/javascript/selection/settext-method/llms.txt)
