# Javascript: InputFormat.setStructureLevel Method

> Sets the structure level of all selected paragraphs. The level can be between 0 and 10. A level of 0 indicates that the paragraph belongs to the body of the document.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 29.0
- **Path:** DS Server > Reference > JavaScript API > Javascript: InputFormat.setStructureLevel Method
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/inputformat/setstructurelevel-method/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/inputformat/setstructurelevel-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/inputformat/setstructurelevel-method/llms-full.txt

---

## On This Page

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

---

## Nearby

- **Previous:** [Javascript: InputFormat.setStructuredListFormat Method](https://docs.textcontrol.com/ds-server/reference/javascript/inputformat/setstructuredlistformat-method/llms.txt)
- **Next:** [Javascript: InputFormat.setStyleName Method](https://docs.textcontrol.com/ds-server/reference/javascript/inputformat/setstylename-method/llms.txt)
