# Javascript: ParagraphFormat.setStructureLevel Method

> Sets the structure level of a paragraph in the document. 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: ParagraphFormat.setStructureLevel Method
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/paragraphformat/setstructurelevel-method/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/paragraphformat/setstructurelevel-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/paragraphformat/setstructurelevel-method/llms-full.txt

---

## On This Page

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

---

## Nearby

- **Previous:** [Javascript: ParagraphFormat.setRightIndent Method](https://docs.textcontrol.com/ds-server/reference/javascript/paragraphformat/setrightindent-method/llms.txt)
- **Next:** [Javascript: ParagraphFormat.setTabLeaders Method](https://docs.textcontrol.com/ds-server/reference/javascript/paragraphformat/settableaders-method/llms.txt)
