# Paragraph Object

> A Paragraph object represents a single paragraph in a Text Control document. Paragraphs are numbered from the beginning to the end of the document beginning with 1. A document has at least one paragraph.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Object
- **Introduced:** 28.0
- **Path:** TX Text Control .NET Server > Reference > JavaScript API > Paragraph Object
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraph/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraph/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraph/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraph/#description)
- [Syntax](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraph/#syntax)
- [Examples](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraph/#examples)
- [Members](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraph/#members)

---

## In This Section

- [Javascript: Paragraph.format Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraph/format-property/llms.txt): The paragraph's formatting attributes.
- [Javascript: Paragraph.getFormattingStyle Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraph/getformattingstyle-method/llms.txt): Gets the paragraph's formatting style.
- [Javascript: Paragraph.getLength Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraph/getlength-method/llms.txt): Gets the number of characters in the paragraph including the paragraph end character.
- [Javascript: Paragraph.getLines Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraph/getlines-method/llms.txt): Gets the number of lines the paragraph consists of.
- [Javascript: Paragraph.getListNumber Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraph/getlistnumber-method/llms.txt): Gets the paragraph's list number.
- [Javascript: Paragraph.getListNumberText Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraph/getlistnumbertext-method/llms.txt): Gets the paragraph's list number text. The text consists of the text in front of the number, the number itself and the text behind the list number. It is an empty string, if the paragraph does not belong to a numbered list.
- [Javascript: Paragraph.getStart Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraph/getstart-method/llms.txt): Gets the number (one-based) of the paragraph's first character.
- [Javascript: Paragraph.getStartLine Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraph/getstartline-method/llms.txt): Gets the number (one-based) of the paragraph's first line.
- [Javascript: Paragraph.getText Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraph/gettext-method/llms.txt): Gets the paragraph's text.
- [Javascript: Paragraph.listFormat Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraph/listformat-property/llms.txt): The paragraph's bulleted or numbered list and/or its formatting attributes.
- [Javascript: Paragraph.save Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraph/save-method/llms.txt): Saves the paragraph in a certain format and sends the result back asynchronously by calling a given callback function.
- [Javascript: Paragraph.select Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraph/select-method/llms.txt): Selects the paragraph.
- [Javascript: Paragraph.setFormattingStyle Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraph/setformattingstyle-method/llms.txt): Sets the paragraph's formatting style. The specified style must be the name of a style contained in the ParagraphStyles collection of a Text Control document.

---

## Nearby

- **Previous:** [Javascript: PageSize.setWidth Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/pagesize/setwidth-method/llms.txt)
- **Next:** [Javascript: Paragraph.format Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraph/format-property/llms.txt)
