# RtfParagraph

Paragraph in an RTF document. Review signatures, members, parameters, type relationships, and available reference details in OfficeIMO.Rtf API Reference.

Class 

`OfficeIMO.Rtf`

**Namespace**

`OfficeIMO.Rtf`

**Assembly**

`OfficeIMO.Rtf`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[RtfParagraph.cs:7](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L7)

**Implements**

`IRtfCloneable` `IRtfBlock`

**Modifiers**

sealed

Paragraph in an RTF document.

## Inheritance

- object
- RtfParagraph

## Usage

Explore 41 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 36

- Method [RtfDocument.AddParagraph](/api/rtf/officeimo-rtf-rtfdocument/#method-addparagraph-string)
- Method [RtfDocument.InsertParagraph](/api/rtf/officeimo-rtf-rtfdocument/#method-insertparagraph-int32-string)
- Method [RtfDocument.ResolveParagraphFormatting](/api/rtf/officeimo-rtf-rtfdocument/#method-resolveparagraphformatting-officeimo-rtf-rtfparagraph)
- Property [RtfDocument.Paragraphs](/api/rtf/officeimo-rtf-rtfdocument/#property-paragraphs)
- Property [RtfField.Result](/api/rtf/officeimo-rtf-rtffield/#property-result)
- Method [RtfHeaderFooter.AddParagraph](/api/rtf/officeimo-rtf-rtfheaderfooter/#method-addparagraph-string)
- Property [RtfHeaderFooter.Paragraphs](/api/rtf/officeimo-rtf-rtfheaderfooter/#property-paragraphs)
- Method [RtfNote.AddParagraph](/api/rtf/officeimo-rtf-rtfnote/#method-addparagraph-string)
- Property [RtfNote.Paragraphs](/api/rtf/officeimo-rtf-rtfnote/#property-paragraphs)
- Property [RtfObject.Result](/api/rtf/officeimo-rtf-rtfobject/#property-result)
- Method [RtfParagraph.ClearListText](/api/rtf/officeimo-rtf-rtfparagraph/#method-clearlisttext)
- Method [RtfParagraph.SetAdjustRightIndent](/api/rtf/officeimo-rtf-rtfparagraph/#method-setadjustrightindent-nullable-system-boolean)
- Method [RtfParagraph.SetAlignment](/api/rtf/officeimo-rtf-rtfparagraph/#method-setalignment-officeimo-rtf-rtftextalignment)
- Method [RtfParagraph.SetBackgroundColor](/api/rtf/officeimo-rtf-rtfparagraph/#method-setbackgroundcolor-nullable-system-int32)
- Method [RtfParagraph.SetBorder](/api/rtf/officeimo-rtf-rtfparagraph/#method-setborder-officeimo-rtf-rtfparagraphborderside-officeimo-rtf-rtfparagraphborderstyle-nullable-system-int32-nullable-system-int32)
- Method [RtfParagraph.SetContextualSpacing](/api/rtf/officeimo-rtf-rtfparagraph/#method-setcontextualspacing-nullable-system-boolean)
- Method [RtfParagraph.SetDirection](/api/rtf/officeimo-rtf-rtfparagraph/#method-setdirection-nullable-officeimo-rtf-rtftextdirection)
- Method [RtfParagraph.SetFrame](/api/rtf/officeimo-rtf-rtfparagraph/#method-setframe-action-officeimo-rtf-rtfparagraphframe)
- Method [RtfParagraph.SetIndentation](/api/rtf/officeimo-rtf-rtfparagraph/#method-setindentation-nullable-system-int32-nullable-system-int32-nullable-system-int32)
- Method [RtfParagraph.SetLegacyNumbering](/api/rtf/officeimo-rtf-rtfparagraph/#method-setlegacynumbering-action-officeimo-rtf-rtflegacynumbering)
- Method [RtfParagraph.SetLineSpacing](/api/rtf/officeimo-rtf-rtfparagraph/#method-setlinespacing-nullable-system-int32-nullable-system-boolean)
- Method [RtfParagraph.SetList](/api/rtf/officeimo-rtf-rtfparagraph/#method-setlist-int32-int32-officeimo-rtf-rtflistkind)
- Method [RtfParagraph.SetListText](/api/rtf/officeimo-rtf-rtfparagraph/#method-setlisttext-action-officeimo-rtf-rtfparagraph)
- Method [RtfParagraph.SetOutlineLevel](/api/rtf/officeimo-rtf-rtfparagraph/#method-setoutlinelevel-nullable-system-int32)
- Method [RtfParagraph.SetPagination](/api/rtf/officeimo-rtf-rtfparagraph/#method-setpagination-nullable-system-boolean-nullable-system-boolean-nullable-system-boolean-nullable-system-boolean-nullable-system-boolean-nullable-system-boolean)
- Method [RtfParagraph.SetParagraphSpacing](/api/rtf/officeimo-rtf-rtfparagraph/#method-setparagraphspacing-nullable-system-int32-nullable-system-int32-nullable-system-boolean-nullable-system-boolean)
- Method [RtfParagraph.SetRevisionSaveId](/api/rtf/officeimo-rtf-rtfparagraph/#method-setrevisionsaveid-nullable-system-int32)
- Method [RtfParagraph.SetShading](/api/rtf/officeimo-rtf-rtfparagraph/#method-setshading-nullable-system-int32-nullable-system-int32-nullable-system-int32-officeimo-rtf-rtfshadingpattern)
- Method [RtfParagraph.SetSnapToLineGrid](/api/rtf/officeimo-rtf-rtfparagraph/#method-setsnaptolinegrid-nullable-system-boolean)
- Method [RtfParagraph.SetStyle](/api/rtf/officeimo-rtf-rtfparagraph/#method-setstyle-int32)
- Property [RtfParagraph.ListText](/api/rtf/officeimo-rtf-rtfparagraph/#property-listtext)
- Method [RtfSection.AddParagraph](/api/rtf/officeimo-rtf-rtfsection/#method-addparagraph-string)
- Method [RtfShape.AddTextBoxParagraph](/api/rtf/officeimo-rtf-rtfshape/#method-addtextboxparagraph-string)
- Property [RtfShape.TextBoxParagraphs](/api/rtf/officeimo-rtf-rtfshape/#property-textboxparagraphs)
- Method [RtfTableCell.AddParagraph](/api/rtf/officeimo-rtf-rtftablecell/#method-addparagraph-string)
- Property [RtfTableCell.Paragraphs](/api/rtf/officeimo-rtf-rtftablecell/#property-paragraphs)

### Accepted by parameters 5

- Method [RtfDocument.ResolveListFormatting](/api/rtf/officeimo-rtf-rtfdocument/#method-resolvelistformatting-officeimo-rtf-rtfparagraph) parameter `paragraph`
- Method [RtfDocument.ResolveParagraphFormatting](/api/rtf/officeimo-rtf-rtfdocument/#method-resolveparagraphformatting-officeimo-rtf-rtfparagraph) parameter `paragraph`
- Method [RtfDocument.ResolveRunFormatting](/api/rtf/officeimo-rtf-rtfdocument/#method-resolverunformatting-officeimo-rtf-rtfparagraph-officeimo-rtf-rtfrun) parameter `paragraph`
- Method [RtfListNumbering.Next](/api/rtf/officeimo-rtf-rtflistnumbering/#method-next-officeimo-rtf-rtfparagraph) parameter `paragraph`
- Method [RtfParagraph.SetListText](/api/rtf/officeimo-rtf-rtfparagraph/#method-setlisttext-action-officeimo-rtf-rtfparagraph) parameter `configure`

Filter members 

Show inherited

## Constructors

`public RtfParagraph()` [#](#constructor-ctor)

[RtfParagraph.cs:7](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L7)

## Methods

`public RtfRun AddAnnotation(string referenceText, string noteText)` [#](#method-addannotation-string-string)

[RtfParagraph.cs:273](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L273)

Adds an annotation reference run with note text.

Parameters

**referenceText string required**

**noteText string required**

Returns

`RtfRun`

`public RtfBookmarkMarker AddBookmarkEnd(string name)` [#](#method-addbookmarkend-string)

[RtfParagraph.cs:174](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L174)

Adds a bookmark end marker at the current paragraph position.

Parameters

**name string required**

Returns

`RtfBookmarkMarker`

`public RtfBookmarkMarker AddBookmarkStart(string name)` [#](#method-addbookmarkstart-string)

[RtfParagraph.cs:169](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L169)

Adds a bookmark start marker at the current paragraph position.

Parameters

**name string required**

Returns

`RtfBookmarkMarker`

`public RtfBreak AddBreak(RtfBreakKind kind)` [#](#method-addbreak-officeimo-rtf-rtfbreakkind)

[RtfParagraph.cs:340](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L340)

Adds an explicit break at the current paragraph position.

Parameters

**kind OfficeIMO.Rtf.RtfBreakKind required**

Returns

`RtfBreak`

`public RtfBreak AddColumnBreak()` [#](#method-addcolumnbreak)

[RtfParagraph.cs:298](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L298)

Adds a column break at the current paragraph position.

Returns

`RtfBreak`

`public RtfGeneratedText AddCurrentDate(string? fallbackText = null)` [#](#method-addcurrentdate-string)

[RtfParagraph.cs:214](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L214)

Adds a generated current date marker.

Parameters

**fallbackText string? = null optional**

Returns

`RtfGeneratedText`

`public RtfGeneratedText AddCurrentDateAbbreviated(string? fallbackText = null)` [#](#method-addcurrentdateabbreviated-string)

[RtfParagraph.cs:224](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L224)

Adds a generated current date marker in abbreviated format.

Parameters

**fallbackText string? = null optional**

Returns

`RtfGeneratedText`

`public RtfGeneratedText AddCurrentDateLong(string? fallbackText = null)` [#](#method-addcurrentdatelong-string)

[RtfParagraph.cs:219](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L219)

Adds a generated current date marker in long format.

Parameters

**fallbackText string? = null optional**

Returns

`RtfGeneratedText`

`public RtfGeneratedText AddCurrentTime(string? fallbackText = null)` [#](#method-addcurrenttime-string)

[RtfParagraph.cs:229](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L229)

Adds a generated current time marker.

Parameters

**fallbackText string? = null optional**

Returns

`RtfGeneratedText`

`public RtfRun AddEndnote(string referenceText, string noteText)` [#](#method-addendnote-string-string)

[RtfParagraph.cs:268](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L268)

Adds a superscript endnote reference run with note text.

Parameters

**referenceText string required**

**noteText string required**

Returns

`RtfRun`

`public RtfField AddEquationField(string equationInstruction, string resultText)` [#](#method-addequationfield-string-string)

[RtfParagraph.cs:186](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L186)

Adds a Word EQ equation field with cached visible fallback text.

Parameters

**equationInstruction string required**

**resultText string required**

Returns

`RtfField`

`public RtfField AddField(string instruction)` [#](#method-addfield-string)

[RtfParagraph.cs:179](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L179)

Adds an RTF field at the current paragraph position.

Parameters

**instruction string required**

Returns

`RtfField`

`public RtfRun AddFootnote(string referenceText, string noteText)` [#](#method-addfootnote-string-string)

[RtfParagraph.cs:263](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L263)

Adds a superscript footnote reference run with note text.

Parameters

**referenceText string required**

**noteText string required**

Returns

`RtfRun`

`public RtfGeneratedText AddGeneratedText(RtfGeneratedTextKind kind, string? fallbackText = null)` [#](#method-addgeneratedtext-officeimo-rtf-rtfgeneratedtextkind-string)

[RtfParagraph.cs:197](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L197)

Adds a generated text marker at the current paragraph position.

Parameters

**kind OfficeIMO.Rtf.RtfGeneratedTextKind required**

**fallbackText string? = null optional**

Returns

`RtfGeneratedText`

`public RtfImage AddImage(RtfImageFormat format, byte[] data)` [#](#method-addimage-officeimo-rtf-rtfimageformat-byte)

[RtfParagraph.cs:256](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L256)

Adds a picture at the current paragraph position.

Parameters

**format OfficeIMO.Rtf.RtfImageFormat required**

**data byte[] required**

Returns

`RtfImage`

`public RtfBreak AddLineBreak()` [#](#method-addlinebreak)

[RtfParagraph.cs:278](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L278)

Adds a line break at the current paragraph position.

Returns

`RtfBreak`

`public RtfGeneratedText AddNoteReference(RtfNote note, string? fallbackText = null)` [#](#method-addnotereference-officeimo-rtf-rtfnote-string)

[RtfParagraph.cs:234](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L234)

Adds an automatic note reference marker and attaches the supplied note to it.

Parameters

**note OfficeIMO.Rtf.RtfNote required**

**fallbackText string? = null optional**

Returns

`RtfGeneratedText`

`public RtfObject AddObject(RtfObjectKind kind = Unknown, byte[]? data = null)` [#](#method-addobject-officeimo-rtf-rtfobjectkind-byte)

[RtfParagraph.cs:242](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L242)

Adds an embedded or linked object at the current paragraph position.

Parameters

**kind OfficeIMO.Rtf.RtfObjectKind = Unknown optional**

**data byte[]? = null optional**

Returns

`RtfObject`

`public RtfBreak AddPageBreak()` [#](#method-addpagebreak)

[RtfParagraph.cs:288](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L288)

Adds a page break at the current paragraph position.

Returns

`RtfBreak`

`public RtfGeneratedText AddPageNumber(string? fallbackText = null)` [#](#method-addpagenumber-string)

[RtfParagraph.cs:204](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L204)

Adds a generated current page number marker.

Parameters

**fallbackText string? = null optional**

Returns

`RtfGeneratedText`

`public RtfGeneratedText AddSectionNumber(string? fallbackText = null)` [#](#method-addsectionnumber-string)

[RtfParagraph.cs:209](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L209)

Adds a generated current section number marker.

Parameters

**fallbackText string? = null optional**

Returns

`RtfGeneratedText`

`public RtfShape AddShape()` [#](#method-addshape)

[RtfParagraph.cs:249](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L249)

Adds a drawing shape at the current paragraph position.

Returns

`RtfShape`

`public RtfBreak AddSoftLineBreak()` [#](#method-addsoftlinebreak)

[RtfParagraph.cs:283](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L283)

Adds a soft line break at the current paragraph position.

Returns

`RtfBreak`

`public RtfBreak AddSoftPageBreak()` [#](#method-addsoftpagebreak)

[RtfParagraph.cs:293](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L293)

Adds a soft page break at the current paragraph position.

Returns

`RtfBreak`

`public RtfTabStop AddTabStop(int positionTwips, RtfTabAlignment alignment = Left, RtfTabLeader leader = None)` [#](#method-addtabstop-int32-officeimo-rtf-rtftabalignment-officeimo-rtf-rtftableader)

[RtfParagraph.cs:303](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L303)

Adds a tab stop to the paragraph.

Parameters

**positionTwips int required**

**alignment OfficeIMO.Rtf.RtfTabAlignment = Left optional**

**leader OfficeIMO.Rtf.RtfTabLeader = None optional**

Returns

`RtfTabStop`

`public RtfRun AddText(string text)` [#](#method-addtext-string)

[RtfParagraph.cs:161](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L161)

Adds a text run.

Parameters

**text string required**

Returns

`RtfRun`

`public RtfParagraph ClearListText()` [#](#method-clearlisttext)

[RtfParagraph.cs:439](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L439)

Clears fallback list marker text.

Returns

`RtfParagraph`

`public int ReplaceText(string oldText, string newText, StringComparison comparison = Ordinal)` [#](#method-replacetext-string-string-stringcomparison)

[RtfParagraph.Editing.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.Editing.cs#L10)

Replaces text across adjacent runs. Replacement text inherits formatting from the run where each match begins; unaffected prefix and suffix runs keep their existing formatting.

Parameters

**oldText string required**

**newText string required**

**comparison System.StringComparison = Ordinal optional**

Returns

`int`

`public RtfParagraph SetAdjustRightIndent(bool? enabled = true)` [#](#method-setadjustrightindent-nullable-system-boolean)

[RtfParagraph.cs:479](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L479)

Sets automatic right-indent adjustment for document-grid layouts.

Parameters

**enabled bool? = true optional**

Returns

`RtfParagraph`

`public RtfParagraph SetAlignment(RtfTextAlignment alignment)` [#](#method-setalignment-officeimo-rtf-rtftextalignment)

[RtfParagraph.cs:387](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L387)

Sets paragraph alignment.

Parameters

**alignment OfficeIMO.Rtf.RtfTextAlignment required**

Returns

`RtfParagraph`

`public RtfParagraph SetBackgroundColor(int? colorIndex)` [#](#method-setbackgroundcolor-nullable-system-int32)

[RtfParagraph.cs:491](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L491)

Sets paragraph background shading to a one-based color table index.

Parameters

**colorIndex int? required**

Returns

`RtfParagraph`

`public RtfParagraph SetBorder(RtfParagraphBorderSide side, RtfParagraphBorderStyle style, int? width = null, int? colorIndex = null)` [#](#method-setborder-officeimo-rtf-rtfparagraphborderside-officeimo-rtf-rtfparagraphborderstyle-nullable-system-int32-nullable-system-int32)

[RtfParagraph.cs:549](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L549)

Sets paragraph border formatting for one side.

Parameters

**side OfficeIMO.Rtf.RtfParagraphBorderSide required**

**style OfficeIMO.Rtf.RtfParagraphBorderStyle required**

**width int? = null optional**

**colorIndex int? = null optional**

Returns

`RtfParagraph`

`public RtfParagraph SetContextualSpacing(bool? enabled = true)` [#](#method-setcontextualspacing-nullable-system-boolean)

[RtfParagraph.cs:473](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L473)

Sets contextual paragraph spacing.

Parameters

**enabled bool? = true optional**

Returns

`RtfParagraph`

`public RtfParagraph SetDirection(RtfTextDirection? direction)` [#](#method-setdirection-nullable-officeimo-rtf-rtftextdirection)

[RtfParagraph.cs:393](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L393)

Sets explicit paragraph text direction.

Parameters

**direction OfficeIMO.Rtf.RtfTextDirection? required**

Returns

`RtfParagraph`

`public RtfParagraph SetFrame(Action<RtfParagraphFrame> configure)` [#](#method-setframe-action-officeimo-rtf-rtfparagraphframe)

[RtfParagraph.cs:542](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L542)

Configures absolute positioning frame metadata for this paragraph.

Parameters

**configure System.Action<OfficeIMO.Rtf.RtfParagraphFrame> required**

Returns

`RtfParagraph`

`public RtfParagraph SetIndentation(int? leftTwips = null, int? rightTwips = null, int? firstLineTwips = null)` [#](#method-setindentation-nullable-system-int32-nullable-system-int32-nullable-system-int32)

[RtfParagraph.cs:449](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L449)

Sets paragraph indentation in twips.

Parameters

**leftTwips int? = null optional**

**rightTwips int? = null optional**

**firstLineTwips int? = null optional**

Returns

`RtfParagraph`

`public RtfParagraph SetLegacyNumbering(Action<RtfLegacyNumbering> configure)` [#](#method-setlegacynumbering-action-officeimo-rtf-rtflegacynumbering)

[RtfParagraph.cs:414](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L414)

Configures Word 6/95 legacy paragraph numbering metadata.

Parameters

**configure System.Action<OfficeIMO.Rtf.RtfLegacyNumbering> required**

Returns

`RtfParagraph`

`public RtfParagraph SetLineSpacing(int? lineSpacingTwips, bool? multiple = null)` [#](#method-setlinespacing-nullable-system-int32-nullable-system-boolean)

[RtfParagraph.cs:457](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L457)

Sets raw RTF paragraph line spacing controls.

Parameters

**lineSpacingTwips int? required**

**multiple bool? = null optional**

Returns

`RtfParagraph`

`public RtfParagraph SetList(int listId = 1, int level = 0, RtfListKind kind = Bullet)` [#](#method-setlist-int32-int32-officeimo-rtf-rtflistkind)

[RtfParagraph.cs:405](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L405)

Marks the paragraph as a list item.

Parameters

**listId int = 1 optional**

**level int = 0 optional**

**kind OfficeIMO.Rtf.RtfListKind = Bullet optional**

Returns

`RtfParagraph`

SetListText 2 overloads

`public RtfParagraph SetListText(string text)` [#](#method-setlisttext-string)

[RtfParagraph.cs:422](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L422)

Sets plain fallback list marker text emitted in a \listtext destination.

Parameters

**text string required**

Returns

`RtfParagraph`

`public RtfParagraph SetListText(Action<RtfParagraph> configure)` [#](#method-setlisttext-action-officeimo-rtf-rtfparagraph)

[RtfParagraph.cs:430](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L430)

Configures rich fallback list marker content emitted in a \listtext destination.

Parameters

**configure System.Action<OfficeIMO.Rtf.RtfParagraph> required**

Returns

`RtfParagraph`

`public RtfParagraph SetOutlineLevel(int? outlineLevel)` [#](#method-setoutlinelevel-nullable-system-int32)

[RtfParagraph.cs:529](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L529)

Sets the paragraph outline level.

Parameters

**outlineLevel int? required**

Returns

`RtfParagraph`

`public RtfParagraph SetPagination(bool? pageBreakBefore = null, bool? keepWithNext = null, bool? keepLinesTogether = null, bool? widowControl = null, bool? suppressLineNumbers = null, bool? autoHyphenation = null)` [#](#method-setpagination-nullable-system-boolean-nullable-system-boolean-nullable-system-boolean-nullable-system-boolean-nullable-system-boolean-nullable-system-boolean)

[RtfParagraph.cs:506](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L506)

Sets paragraph pagination controls.

Parameters

**pageBreakBefore bool? = null optional**

**keepWithNext bool? = null optional**

**keepLinesTogether bool? = null optional**

**widowControl bool? = null optional**

**suppressLineNumbers bool? = null optional**

**autoHyphenation bool? = null optional**

Returns

`RtfParagraph`

`public RtfParagraph SetParagraphSpacing(int? beforeTwips = null, int? afterTwips = null, bool? beforeAuto = null, bool? afterAuto = null)` [#](#method-setparagraphspacing-nullable-system-int32-nullable-system-int32-nullable-system-boolean-nullable-system-boolean)

[RtfParagraph.cs:464](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L464)

Sets paragraph spacing before and after this paragraph.

Parameters

**beforeTwips int? = null optional**

**afterTwips int? = null optional**

**beforeAuto bool? = null optional**

**afterAuto bool? = null optional**

Returns

`RtfParagraph`

`public RtfParagraph SetRevisionSaveId(int? id)` [#](#method-setrevisionsaveid-nullable-system-int32)

[RtfParagraph.cs:535](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L535)

Sets the paragraph revision save identifier represented by \pararsid.

Parameters

**id int? required**

Returns

`RtfParagraph`

`public RtfParagraph SetShading(int? backgroundColorIndex, int? foregroundColorIndex = null, int? patternPercent = null, RtfShadingPattern pattern = None)` [#](#method-setshading-nullable-system-int32-nullable-system-int32-nullable-system-int32-officeimo-rtf-rtfshadingpattern)

[RtfParagraph.cs:497](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L497)

Sets paragraph shading color and pattern metadata.

Parameters

**backgroundColorIndex int? required**

**foregroundColorIndex int? = null optional**

**patternPercent int? = null optional**

**pattern OfficeIMO.Rtf.RtfShadingPattern = None optional**

Returns

`RtfParagraph`

`public RtfParagraph SetSnapToLineGrid(bool? enabled = true)` [#](#method-setsnaptolinegrid-nullable-system-boolean)

[RtfParagraph.cs:485](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L485)

Sets whether paragraph lines snap to the document line grid.

Parameters

**enabled bool? = true optional**

Returns

`RtfParagraph`

`public RtfParagraph SetStyle(int styleId)` [#](#method-setstyle-int32)

[RtfParagraph.cs:399](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L399)

Sets the paragraph style id.

Parameters

**styleId int required**

Returns

`RtfParagraph`

`public string ToPlainText()` [#](#method-toplaintext)

[RtfParagraph.cs:558](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L558)

Returns plain text for the paragraph.

Returns

`string`

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public IReadOnlyList<RtfRun> Runs { get; }` [#](#property-runs)

[RtfParagraph.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L12)

Paragraph runs.

`public IReadOnlyList<IRtfInline> Inlines { get; }` [#](#property-inlines)

[RtfParagraph.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L15)

Paragraph inline content in original order, including non-text markers such as bookmarks.

`public IReadOnlyList<RtfTabStop> TabStops { get; }` [#](#property-tabstops)

[RtfParagraph.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L18)

Paragraph tab stops in RTF declaration order.

`public RtfTextAlignment Alignment { get; set; }` [#](#property-alignment)

[RtfParagraph.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L21)

Paragraph alignment.

`public RtfTextAlignment? DirectAlignment { get; set; }` [#](#property-directalignment)

[RtfParagraph.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L24)

Authored Alignment override. Null inherits from the selected style; an explicit default clears that style value.

`public RtfTextDirection? Direction { get; set; }` [#](#property-direction)

[RtfParagraph.cs:27](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L27)

Explicit paragraph text direction represented by \ltrpar or \rtlpar.

`public int? StyleId { get; set; }` [#](#property-styleid)

[RtfParagraph.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L30)

Optional paragraph stylesheet id.

`public int? ListId { get; set; }` [#](#property-listid)

[RtfParagraph.cs:40](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L40)

Optional list id for paragraphs bound to an RTF list override.

`public int? ListDefinitionId { get; set; }` [#](#property-listdefinitionid)

[RtfParagraph.cs:43](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L43)

Optional list definition id resolved through the list override table.

`public int? ListLevel { get; set; }` [#](#property-listlevel)

[RtfParagraph.cs:46](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L46)

Optional zero-based list level.

`public RtfListKind ListKind { get; set; }` [#](#property-listkind)

[RtfParagraph.cs:49](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L49)

Basic list marker kind.

`public RtfLegacyNumbering LegacyNumbering { get; private set; }` [#](#property-legacynumbering)

[RtfParagraph.cs:55](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L55)

Word 6/95 legacy paragraph numbering metadata from \pn* controls.

`public RtfParagraph? ListText { get; private set; }` [#](#property-listtext)

[RtfParagraph.cs:58](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L58)

Word list marker fallback text represented by a paragraph-level \listtext destination.

`public int? LeftIndentTwips { get; set; }` [#](#property-leftindenttwips)

[RtfParagraph.cs:61](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L61)

Left indentation in twips.

`public int? RightIndentTwips { get; set; }` [#](#property-rightindenttwips)

[RtfParagraph.cs:64](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L64)

Right indentation in twips.

`public int? FirstLineIndentTwips { get; set; }` [#](#property-firstlineindenttwips)

[RtfParagraph.cs:67](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L67)

First-line indentation in twips.

`public int? SpaceBeforeTwips { get; set; }` [#](#property-spacebeforetwips)

[RtfParagraph.cs:70](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L70)

Space before paragraph in twips.

`public int? SpaceAfterTwips { get; set; }` [#](#property-spaceaftertwips)

[RtfParagraph.cs:73](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L73)

Space after paragraph in twips.

`public bool? SpaceBeforeAuto { get; set; }` [#](#property-spacebeforeauto)

[RtfParagraph.cs:76](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L76)

Whether space before the paragraph is automatically determined by the renderer.

`public bool? SpaceAfterAuto { get; set; }` [#](#property-spaceafterauto)

[RtfParagraph.cs:79](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L79)

Whether space after the paragraph is automatically determined by the renderer.

`public int? LineSpacingTwips { get; set; }` [#](#property-linespacingtwips)

[RtfParagraph.cs:82](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L82)

Raw RTF line spacing value from \sl.

`public bool? LineSpacingMultiple { get; set; }` [#](#property-linespacingmultiple)

[RtfParagraph.cs:85](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L85)

Whether \sl is interpreted as multiple line spacing by \slmult. Null means not specified.

`public int? BackgroundColorIndex { get; set; }` [#](#property-backgroundcolorindex)

[RtfParagraph.cs:88](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L88)

One-based color table index used by paragraph background shading.

`public int? ShadingForegroundColorIndex { get; set; }` [#](#property-shadingforegroundcolorindex)

[RtfParagraph.cs:91](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L91)

One-based color table index used by paragraph pattern foreground shading.

`public int? ShadingPatternPercent { get; set; }` [#](#property-shadingpatternpercent)

[RtfParagraph.cs:94](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L94)

Raw RTF \shading value, where 10000 represents 100 percent.

`public RtfShadingPattern ShadingPattern { get; set; }` [#](#property-shadingpattern)

[RtfParagraph.cs:97](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L97)

Named RTF shading pattern.

`public RtfParagraphBorder TopBorder { get; private set; }` [#](#property-topborder)

[RtfParagraph.cs:100](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L100)

Top paragraph border.

`public RtfParagraphBorder LeftBorder { get; private set; }` [#](#property-leftborder)

[RtfParagraph.cs:103](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L103)

Left paragraph border.

`public RtfParagraphBorder BottomBorder { get; private set; }` [#](#property-bottomborder)

[RtfParagraph.cs:106](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L106)

Bottom paragraph border.

`public RtfParagraphBorder RightBorder { get; private set; }` [#](#property-rightborder)

[RtfParagraph.cs:109](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L109)

Right paragraph border.

`public bool PageBreakBefore { get; set; }` [#](#property-pagebreakbefore)

[RtfParagraph.cs:112](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L112)

Whether a page break should be emitted before this paragraph.

`public bool? DirectPageBreakBefore { get; set; }` [#](#property-directpagebreakbefore)

[RtfParagraph.cs:115](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L115)

Authored PageBreakBefore override. Null inherits from the selected style; an explicit default clears that style value.

`public bool KeepWithNext { get; set; }` [#](#property-keepwithnext)

[RtfParagraph.cs:118](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L118)

Whether this paragraph should stay on the same page as the following paragraph.

`public bool? DirectKeepWithNext { get; set; }` [#](#property-directkeepwithnext)

[RtfParagraph.cs:121](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L121)

Authored KeepWithNext override. Null inherits from the selected style; an explicit default clears that style value.

`public bool KeepLinesTogether { get; set; }` [#](#property-keeplinestogether)

[RtfParagraph.cs:124](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L124)

Whether all lines in this paragraph should stay together on the same page.

`public bool? DirectKeepLinesTogether { get; set; }` [#](#property-directkeeplinestogether)

[RtfParagraph.cs:127](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L127)

Authored KeepLinesTogether override. Null inherits from the selected style; an explicit default clears that style value.

`public bool SuppressLineNumbers { get; set; }` [#](#property-suppresslinenumbers)

[RtfParagraph.cs:130](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L130)

Whether line numbering is suppressed for this paragraph.

`public bool? DirectSuppressLineNumbers { get; set; }` [#](#property-directsuppresslinenumbers)

[RtfParagraph.cs:133](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L133)

Authored SuppressLineNumbers override. Null inherits from the selected style; an explicit default clears that style value.

`public bool? AutoHyphenation { get; set; }` [#](#property-autohyphenation)

[RtfParagraph.cs:136](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L136)

Paragraph-level automatic hyphenation override represented by \hyphpar.

`public bool? ContextualSpacing { get; set; }` [#](#property-contextualspacing)

[RtfParagraph.cs:139](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L139)

Whether contextual paragraph spacing is explicitly enabled or disabled.

`public bool? AdjustRightIndent { get; set; }` [#](#property-adjustrightindent)

[RtfParagraph.cs:142](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L142)

Whether the right indent is automatically adjusted when a document grid is defined.

`public bool? SnapToLineGrid { get; set; }` [#](#property-snaptolinegrid)

[RtfParagraph.cs:145](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L145)

Whether paragraph lines snap to the document line grid.

`public bool? WidowControl { get; set; }` [#](#property-widowcontrol)

[RtfParagraph.cs:148](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L148)

Explicit paragraph widow/orphan control. Null means not specified.

`public int? OutlineLevel { get; set; }` [#](#property-outlinelevel)

[RtfParagraph.cs:151](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L151)

Optional paragraph outline level.

`public int? RevisionSaveId { get; set; }` [#](#property-revisionsaveid)

[RtfParagraph.cs:154](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L154)

Paragraph revision save identifier represented by \pararsid.

`public RtfParagraphFrame Frame { get; private set; }` [#](#property-frame)

[RtfParagraph.cs:157](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfParagraph.cs#L157)

Absolute positioning, text wrapping, and drop-cap metadata for this paragraph.

<!-- PowerForge markdown artifact sha256:D42701F75E17976C9E9CB23255492909D2119C06B39DA7F70E9227E410B32F32 -->
