# LegacyWordParagraphContent

Describes one recovered source paragraph.

Class 

`OfficeIMO.Word.Legacy`

**Namespace**

`OfficeIMO.Word.Legacy`

**Assembly**

`OfficeIMO.Word`

**Source revision**

`12511d2fa560` with working tree changes

**Source**

[LegacyWordContracts.cs:157](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L157)

**Base**

`LegacyWordBlockContent`

**Modifiers**

sealed

Describes one recovered source paragraph.

## Inheritance

- [LegacyWordBlockContent](/api/word/officeimo-word-legacy-legacywordblockcontent/)
- LegacyWordParagraphContent

## Usage

Explore 4 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 4

- Property [LegacyWordContent.Paragraphs](/api/word/officeimo-word-legacy-legacywordcontent/#property-paragraphs)
- Property [LegacyWordHeaderFooterContent.Paragraphs](/api/word/officeimo-word-legacy-legacywordheaderfootercontent/#property-paragraphs)
- Property [LegacyWordNoteContent.Paragraphs](/api/word/officeimo-word-legacy-legacywordnotecontent/#property-paragraphs)
- Property [LegacyWordTableCellContent.Paragraphs](/api/word/officeimo-word-legacy-legacywordtablecellcontent/#property-paragraphs)

Filter members 

Show inherited

## 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 string Text { get; }` [#](#property-text)

[LegacyWordContracts.cs:157](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L157)

Gets the combined paragraph text.

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

[LegacyWordContracts.cs:159](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L159)

Gets recovered formatted runs.

`public bool IsList { get; }` [#](#property-islist)

[LegacyWordContracts.cs:161](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L161)

Gets whether the paragraph is a list item.

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

[LegacyWordContracts.cs:163](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L163)

Gets the recovered list nesting level.

`public WordParagraphAlignment? Alignment { get; }` [#](#property-alignment)

[LegacyWordContracts.cs:165](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L165)

Gets recovered alignment.

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

[LegacyWordContracts.cs:167](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L167)

Gets whether the source requested a page break before this paragraph.

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

[LegacyWordContracts.cs:169](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L169)

Gets whether the source requested keeping this paragraph with the next.

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

[LegacyWordContracts.cs:171](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L171)

Gets whether the source requested keeping paragraph lines together.

`public OfficeLength? LineSpacing { get; }` [#](#property-linespacing)

[LegacyWordContracts.cs:173](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L173)

Gets recovered physical line spacing.

`public OfficeLength? SpacingBefore { get; }` [#](#property-spacingbefore)

[LegacyWordContracts.cs:175](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L175)

Gets recovered spacing before the paragraph.

`public OfficeLength? SpacingAfter { get; }` [#](#property-spacingafter)

[LegacyWordContracts.cs:177](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L177)

Gets recovered spacing after the paragraph.

`public string? StyleName { get; }` [#](#property-stylename)

[LegacyWordContracts.cs:179](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L179)

Gets the recovered source style name, when available.

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