# ParagraphFormat Object

> Represents the formatting attributes of a paragraph.

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

---

## On This Page

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

---

## In This Section

- [Javascript: ParagraphFormat.Attribute Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/attribute-enumeration/llms.txt): Determines a certain paragraph format attribute.
- [Javascript: ParagraphFormat.getAbsoluteLineSpacing Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/getabsolutelinespacing-method/llms.txt): Gets the line spacing of a paragraph in twips.
- [Javascript: ParagraphFormat.getAlignment Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/getalignment-method/llms.txt): Gets the horizontal text alignment.
- [Javascript: ParagraphFormat.getBackColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/getbackcolor-method/llms.txt): Gets the background color of a paragraph.
- [Javascript: ParagraphFormat.getBottomDistance Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/getbottomdistance-method/llms.txt): Gets the bottom distance, in twips, between this and the next paragraph.
- [Javascript: ParagraphFormat.getDirection Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/getdirection-method/llms.txt): Gets the writing direction.
- [Javascript: ParagraphFormat.getFrame Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/getframe-method/llms.txt): Gets the framesetting of the paragraph.
- [Javascript: ParagraphFormat.getFrameDistance Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/getframedistance-method/llms.txt): Gets the distance, in twips, between the text and the paragraph's frame.
- [Javascript: ParagraphFormat.getFrameLineColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/getframelinecolor-method/llms.txt): Gets the color used for the frame lines of a paragraph.
- [Javascript: ParagraphFormat.getFrameLineWidth Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/getframelinewidth-method/llms.txt): Gets the line width, in twips, of the paragraph's frame.
- [Javascript: ParagraphFormat.getFrameStyle Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/getframestyle-method/llms.txt): Gets the style of the paragraph's frame.
- [Javascript: ParagraphFormat.getHangingIndent Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/gethangingindent-method/llms.txt): Gets the distance, in twips, for the hanging indent.
- [Javascript: ParagraphFormat.getJustification Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/getjustification-method/llms.txt): Gets the kind of justification in documents containing Arabic or Hebrew characters.
- [Javascript: ParagraphFormat.getKeepLinesTogether Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/getkeeplinestogether-method/llms.txt): Gets a value indicating whether a page break is allowed within the paragraph.
- [Javascript: ParagraphFormat.getKeepWithNext Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/getkeepwithnext-method/llms.txt): Gets whether the paragraph is displayed on the same page as its following paragraph.
- [Javascript: ParagraphFormat.getLeftIndent Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/getleftindent-method/llms.txt): Gets the distance, in twips, between the left edge of the Text Control and the left edge of the text.
- [Javascript: ParagraphFormat.getLineSpacing Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/getlinespacing-method/llms.txt): Gets the line spacing of a paragraph as a percentage of the font size.
- [Javascript: ParagraphFormat.getPageBreakBefore Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/getpagebreakbefore-method/llms.txt): Gets whether the paragraph is always displayed on top of a page.
- [Javascript: ParagraphFormat.getRightIndent Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/getrightindent-method/llms.txt): Gets the distance, in twips, between the right edge of a Text Control document and the right edge of the text.
- [Javascript: ParagraphFormat.getStructureLevel Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/getstructurelevel-method/llms.txt): Gets 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.
- [Javascript: ParagraphFormat.getTabLeaders Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/gettableaders-method/llms.txt): Gets an array containing the tab leaders in a paragraph. A tab leader defines how a tab gap is filled.
- [Javascript: ParagraphFormat.getTabPositions Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/gettabpositions-method/llms.txt): Gets the absolute tab stop positions, in twips, in a paragraph.
- [Javascript: ParagraphFormat.getTabTypes Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/gettabtypes-method/llms.txt): Gets the tab types in a paragraph.
- [Javascript: ParagraphFormat.getTopDistance Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/gettopdistance-method/llms.txt): Gets the distance, in twips, between this and the previous paragraph.
- [Javascript: ParagraphFormat.getWidowOrphanLines Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/getwidoworphanlines-method/llms.txt): Gets the number of lines for widow/orphan control.
- [Javascript: ParagraphFormat.setAbsoluteLineSpacing Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/setabsolutelinespacing-method/llms.txt): Sets the line spacing of a paragraph in twips.
- [Javascript: ParagraphFormat.setAlignment Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/setalignment-method/llms.txt): Sets the horizontal text alignment.
- [Javascript: ParagraphFormat.setBackColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/setbackcolor-method/llms.txt): Sets the background color of a paragraph.
- [Javascript: ParagraphFormat.setBottomDistance Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/setbottomdistance-method/llms.txt): Sets the bottom distance, in twips, between this and the next paragraph.
- [Javascript: ParagraphFormat.setDirection Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/setdirection-method/llms.txt): Sets the writing direction.
- [Javascript: ParagraphFormat.setFrame Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/setframe-method/llms.txt): Sets the framesetting of the paragraph.
- [Javascript: ParagraphFormat.setFrameDistance Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/setframedistance-method/llms.txt): Sets the distance, in twips, between the text and the paragraph's frame.
- [Javascript: ParagraphFormat.setFrameLineColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/setframelinecolor-method/llms.txt): Sets the color used for the frame lines of a paragraph.
- [Javascript: ParagraphFormat.setFrameLineWidth Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/setframelinewidth-method/llms.txt): Sets the line width, in twips, of the paragraph's frame.
- [Javascript: ParagraphFormat.setFrameStyle Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/setframestyle-method/llms.txt): Sets the style of the paragraph's frame.
- [Javascript: ParagraphFormat.setHangingIndent Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/sethangingindent-method/llms.txt): Sets the distance, in twips, for the hanging indent.
- [Javascript: ParagraphFormat.setJustification Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/setjustification-method/llms.txt): Sets the kind of justification in documents containing Arabic or Hebrew characters.
- [Javascript: ParagraphFormat.setKeepLinesTogether Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/setkeeplinestogether-method/llms.txt): Sets a value indicating whether a page break is allowed within the paragraph.
- [Javascript: ParagraphFormat.setKeepWithNext Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/setkeepwithnext-method/llms.txt): Sets whether paragraph is displayed on the same page as its following paragraph.
- [Javascript: ParagraphFormat.setLeftIndent Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/setleftindent-method/llms.txt): Sets the distance, in twips, between the left edge of the Text Control and the left edge of the text.
- [Javascript: ParagraphFormat.setLineSpacing Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/setlinespacing-method/llms.txt): Sets the line spacing of a paragraph as a percentage of the font size.
- [Javascript: ParagraphFormat.setPageBreakBefore Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/setpagebreakbefore-method/llms.txt): Sets whether the paragraph is always displayed on top of a page.
- [Javascript: ParagraphFormat.setRightIndent Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/setrightindent-method/llms.txt): Sets the distance, in twips, between the right edge of a Text Control document and the right edge of the text.
- [Javascript: ParagraphFormat.setStructureLevel Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/setstructurelevel-method/llms.txt): 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.
- [Javascript: ParagraphFormat.setTabLeaders Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/settableaders-method/llms.txt): Sets an array containing the tab leaders in a paragraph. A tab leader defines how a tab gap is filled.
- [Javascript: ParagraphFormat.setTabPositions Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/settabpositions-method/llms.txt): Sets an array containing the absolute tab stop positions, in twips, in a paragraph.
- [Javascript: ParagraphFormat.setTabTypes Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/settabtypes-method/llms.txt): Sets an array containing the tab types in a paragraph.
- [Javascript: ParagraphFormat.setTopDistance Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/settopdistance-method/llms.txt): Sets distance, in twips, between this and the previous paragraph.
- [Javascript: ParagraphFormat.setWidowOrphanLines Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/setwidoworphanlines-method/llms.txt): Sets the number of lines for widow/orphan control.

---

## Nearby

- **Previous:** [Javascript: ParagraphCollection.getItemAtLocation Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphcollection/getitematlocation-method/llms.txt)
- **Next:** [Javascript: ParagraphFormat.Attribute Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/paragraphformat/attribute-enumeration/llms.txt)
