# WordParagraphFluent

The fluent methods of WordParagraph, generated from its public properties: A property-named method sets a property and a singular-named method adds…

Class 

`OfficeIMO.Word`

**Namespace**

`OfficeIMO.Word`

**Assembly**

`OfficeIMO.Word`

**Modifiers**

static

The fluent methods of [WordParagraph](/api/word/officeimo-word-wordparagraph/), generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

## Inheritance

- object
- WordParagraphFluent

Filter members 

Show inherited

## Methods

`public static TSelf Alignment<TSelf>(TSelf wordParagraph, WordParagraphAlignment alignment)` [#](#method-alignment-officeimo-word-wordparagraphalignment)

Sets the paragraph alignment.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**alignment OfficeIMO.Word.WordParagraphAlignment required**

Alignment value.

Returns

`TSelf` The same instance.

`public static TSelf AvoidWidowAndOrphanOverride<TSelf>(TSelf wordParagraph, bool? value = true)` [#](#method-avoidwidowandorphanoverride-nullable-system-boolean)

Sets [WordParagraph.AvoidWidowAndOrphanOverride](/api/word/officeimo-word-wordparagraph/): Gets or sets directly authored widow/orphan control. Null restores style inheritance; false disables the control.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value bool? = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                                        // C# fluent
new global::OfficeIMO.Word.WordParagraph { AvoidWidowAndOrphanOverride = value };    wordParagraph.AvoidWidowAndOrphanOverride(value);
```

`public static TSelf AvoidWidowAndOrphan<TSelf>(TSelf wordParagraph, bool value = true)` [#](#method-avoidwidowandorphan-boolean)

Sets [WordParagraph.AvoidWidowAndOrphan](/api/word/officeimo-word-wordparagraph/): Gets or sets directly authored widow and orphan control without resolving paragraph styles.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                                // C# fluent
new global::OfficeIMO.Word.WordParagraph { AvoidWidowAndOrphan = value };    wordParagraph.AvoidWidowAndOrphan(value);
```

BackgroundColor``1 2 overloads

`public static TSelf BackgroundColor<TSelf>(TSelf wordParagraph, OfficeColor color)` [#](#method-backgroundcolor-officeimo-officecolor)

Applies an exact background (run shading fill) color to the current text run.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**color OfficeIMO.OfficeColor required**

The background color.

Returns

`TSelf` The same instance.

`public static TSelf BackgroundColor<TSelf>(TSelf wordParagraph, OfficeColor? value)` [#](#method-backgroundcolor-nullable-officeimo-officecolor)

Sets [WordParagraph.BackgroundColor](/api/word/officeimo-word-wordparagraph/): Gets or sets the background (run shading fill) color applied to the current text run.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value OfficeIMO.OfficeColor? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                            // C# fluent
new global::OfficeIMO.Word.WordParagraph { BackgroundColor = value };    wordParagraph.BackgroundColor(value);
```

`public static TSelf BiDi<TSelf>(TSelf wordParagraph, bool value = true)` [#](#method-bidi-boolean)

Sets [WordParagraph.BiDi](/api/word/officeimo-word-wordparagraph/): Gets or sets directly authored right-to-left layout without resolving paragraph styles.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                 // C# fluent
new global::OfficeIMO.Word.WordParagraph { BiDi = value };    wordParagraph.BiDi(value);
```

`public static TSelf Bold<TSelf>(TSelf wordParagraph, bool isBold = true)` [#](#method-bold-boolean)

Sets the [WordParagraph.Bold](/api/word/officeimo-word-wordparagraph/) property.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**isBold bool = true optional**

Whether the text should be bold.

Returns

`TSelf` The same instance.

`public static TSelf Bookmark<TSelf>(TSelf wordParagraph, Action<WordBookmark> configure)` [#](#method-bookmark-action-officeimo-word-wordbookmark)

Configures [WordParagraph.Bookmark](/api/word/officeimo-word-wordparagraph/) in place: Gets the bookmark associated with this paragraph, if present.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**configure System.Action<OfficeIMO.Word.WordBookmark> required**

Configures the value.

Returns

`TSelf` The same instance.

`public static TSelf CapsStyle<TSelf>(TSelf wordParagraph, WordCapsStyle capsStyle)` [#](#method-capsstyle-officeimo-word-wordcapsstyle)

Sets the capitalization style for the text.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**capsStyle OfficeIMO.Word.WordCapsStyle required**

Capitalization style.

Returns

`TSelf` The same instance.

`public static TSelf CharacterScale<TSelf>(TSelf wordParagraph, int? value)` [#](#method-characterscale-nullable-system-int32)

Sets [WordParagraph.CharacterScale](/api/word/officeimo-word-wordparagraph/): Gets or sets the directly authored character width as a percentage between 1 and 600. A value of 100 restores normal width; null removes the direct value and restores style inheritance. Character height and character spacing are independent of this setting.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value int? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                           // C# fluent
new global::OfficeIMO.Word.WordParagraph { CharacterScale = value };    wordParagraph.CharacterScale(value);
```

`public static TSelf CharacterStyleId<TSelf>(TSelf wordParagraph, string styleId)` [#](#method-characterstyleid-string)

Sets the character style by identifier.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**styleId string required**

The style identifier.

Returns

`TSelf` The same instance.

CharacterStyle``1 3 overloads

`public static TSelf CharacterStyle<TSelf>(TSelf wordParagraph, WordStyle style)` [#](#method-characterstyle-officeimo-word-wordstyle)

Applies a character style defined in this paragraph's document to the run.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**style OfficeIMO.Word.WordStyle required**

A character style from [WordDocument.Styles](/api/word/officeimo-word-worddocument/).

Returns

`TSelf` The same instance.

`public static TSelf CharacterStyle<TSelf>(TSelf wordParagraph, WordCharacterStyles style)` [#](#method-characterstyle-officeimo-word-wordcharacterstyles)

Sets the character style for the run.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**style OfficeIMO.Word.WordCharacterStyles required**

Character style to apply.

Returns

`TSelf` The same instance.

`public static TSelf CharacterStyle<TSelf>(TSelf wordParagraph, WordCharacterStyles? value)` [#](#method-characterstyle-nullable-officeimo-word-wordcharacterstyles)

Sets [WordParagraph.CharacterStyle](/api/word/officeimo-word-wordparagraph/): Gets or sets the character style applied to the run.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value OfficeIMO.Word.WordCharacterStyles? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                           // C# fluent
new global::OfficeIMO.Word.WordParagraph { CharacterStyle = value };    wordParagraph.CharacterStyle(value);
```

`public static TSelf Chart<TSelf>(TSelf wordParagraph, Action<WordChart> configure)` [#](#method-chart-action-officeimo-word-wordchart)

Configures [WordParagraph.Chart](/api/word/officeimo-word-wordparagraph/) in place: Gets the chart contained in this paragraph, if present.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**configure System.Action<OfficeIMO.Word.WordChart> required**

Configures the value.

Returns

`TSelf` The same instance.

`public static TSelf CheckBoxValue<TSelf>(TSelf wordParagraph, bool value = true)` [#](#method-checkboxvalue-boolean)

Sets the checked state of the paragraph's checkbox.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value bool = true optional**

New checked state. True when omitted.

Returns

`TSelf` The same instance.

`public static TSelf CheckBox<TSelf>(TSelf wordParagraph, Action<WordCheckBox> configure)` [#](#method-checkbox-action-officeimo-word-wordcheckbox)

Configures [WordParagraph.CheckBox](/api/word/officeimo-word-wordparagraph/) in place: Gets the checkbox contained in this paragraph, if present.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**configure System.Action<OfficeIMO.Word.WordCheckBox> required**

Configures the value.

Returns

`TSelf` The same instance.

Color``1 2 overloads

`public static TSelf Color<TSelf>(TSelf wordParagraph, OfficeColor color)` [#](#method-color-officeimo-officecolor)

Sets the text color using OfficeColor.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**color OfficeIMO.OfficeColor required**

The color to apply.

Returns

`TSelf` The same instance.

`public static TSelf Color<TSelf>(TSelf wordParagraph, OfficeColor? value)` [#](#method-color-nullable-officeimo-officecolor)

Sets [WordParagraph.Color](/api/word/officeimo-word-wordparagraph/): Gets or sets the text color using OfficeColor.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value OfficeIMO.OfficeColor? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                  // C# fluent
new global::OfficeIMO.Word.WordParagraph { Color = value };    wordParagraph.Color(value);
```

`public static TSelf ComboBox<TSelf>(TSelf wordParagraph, Action<WordComboBox> configure)` [#](#method-combobox-action-officeimo-word-wordcombobox)

Configures [WordParagraph.ComboBox](/api/word/officeimo-word-wordparagraph/) in place: Gets the combo box contained in this paragraph, if present.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**configure System.Action<OfficeIMO.Word.WordComboBox> required**

Configures the value.

Returns

`TSelf` The same instance.

`public static TSelf ContextualSpacing<TSelf>(TSelf wordParagraph, bool? value = true)` [#](#method-contextualspacing-nullable-system-boolean)

Sets [WordParagraph.ContextualSpacing](/api/word/officeimo-word-wordparagraph/): Gets or sets suppression of spacing between paragraphs of the same style. Null restores style inheritance.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value bool? = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                              // C# fluent
new global::OfficeIMO.Word.WordParagraph { ContextualSpacing = value };    wordParagraph.ContextualSpacing(value);
```

`public static TSelf DatePicker<TSelf>(TSelf wordParagraph, Action<WordDatePicker> configure)` [#](#method-datepicker-action-officeimo-word-worddatepicker)

Configures [WordParagraph.DatePicker](/api/word/officeimo-word-wordparagraph/) in place: Gets the date picker contained in this paragraph, if present.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**configure System.Action<OfficeIMO.Word.WordDatePicker> required**

Configures the value.

Returns

`TSelf` The same instance.

`public static TSelf DoNotCheckSpellingOrGrammar<TSelf>(TSelf wordParagraph, bool value = true)` [#](#method-donotcheckspellingorgrammar-boolean)

Sets [WordParagraph.DoNotCheckSpellingOrGrammar](/api/word/officeimo-word-wordparagraph/): Gets or sets a value indicating whether spelling and grammar checks are disabled.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                                        // C# fluent
new global::OfficeIMO.Word.WordParagraph { DoNotCheckSpellingOrGrammar = value };    wordParagraph.DoNotCheckSpellingOrGrammar(value);
```

`public static TSelf DoubleStrikethrough<TSelf>(TSelf wordParagraph, bool doubleStrikethrough = true)` [#](#method-doublestrikethrough-boolean)

Enables or disables double strikethrough on the text.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**doubleStrikethrough bool = true optional**

Whether the text should be double struck.

Returns

`TSelf` The same instance.

`public static TSelf DropDownList<TSelf>(TSelf wordParagraph, Action<WordDropDownList> configure)` [#](#method-dropdownlist-action-officeimo-word-worddropdownlist)

Configures [WordParagraph.DropDownList](/api/word/officeimo-word-wordparagraph/) in place: Gets the dropdown list contained in this paragraph, if present.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**configure System.Action<OfficeIMO.Word.WordDropDownList> required**

Configures the value.

Returns

`TSelf` The same instance.

`public static TSelf Emboss<TSelf>(TSelf wordParagraph, bool isEmboss = true)` [#](#method-emboss-boolean)

Enables or disables emboss effect on the text.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**isEmboss bool = true optional**

Whether the text should be embossed.

Returns

`TSelf` The same instance.

`public static TSelf EndNote<TSelf>(TSelf wordParagraph, Action<WordEndNote> configure)` [#](#method-endnote-action-officeimo-word-wordendnote)

Configures [WordParagraph.EndNote](/api/word/officeimo-word-wordparagraph/) in place: Gets the endnote associated with this paragraph, if any.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**configure System.Action<OfficeIMO.Word.WordEndNote> required**

Configures the value.

Returns

`TSelf` The same instance.

`public static TSelf Equation<TSelf>(TSelf wordParagraph, Action<WordEquation> configure)` [#](#method-equation-action-officeimo-word-wordequation)

Configures [WordParagraph.Equation](/api/word/officeimo-word-wordparagraph/) in place: Gets the mathematical equation contained in this paragraph, if any.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**configure System.Action<OfficeIMO.Word.WordEquation> required**

Configures the value.

Returns

`TSelf` The same instance.

`public static TSelf Field<TSelf>(TSelf wordParagraph, Action<WordField> configure)` [#](#method-field-action-officeimo-word-wordfield)

Configures [WordParagraph.Field](/api/word/officeimo-word-wordparagraph/) in place: Gets the field contained in this paragraph, if any.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**configure System.Action<OfficeIMO.Word.WordField> required**

Configures the value.

Returns

`TSelf` The same instance.

`public static TSelf FontFamilyComplexScript<TSelf>(TSelf wordParagraph, string? value)` [#](#method-fontfamilycomplexscript-string)

Sets [WordParagraph.FontFamilyComplexScript](/api/word/officeimo-word-wordparagraph/): Gets or sets the complex script font family.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value string? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                                    // C# fluent
new global::OfficeIMO.Word.WordParagraph { FontFamilyComplexScript = value };    wordParagraph.FontFamilyComplexScript(value);
```

`public static TSelf FontFamilyEastAsia<TSelf>(TSelf wordParagraph, string? value)` [#](#method-fontfamilyeastasia-string)

Sets [WordParagraph.FontFamilyEastAsia](/api/word/officeimo-word-wordparagraph/): Gets or sets the East Asia font family.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value string? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                               // C# fluent
new global::OfficeIMO.Word.WordParagraph { FontFamilyEastAsia = value };    wordParagraph.FontFamilyEastAsia(value);
```

`public static TSelf FontFamilyHighAnsi<TSelf>(TSelf wordParagraph, string? value)` [#](#method-fontfamilyhighansi-string)

Sets [WordParagraph.FontFamilyHighAnsi](/api/word/officeimo-word-wordparagraph/): Gets or sets the HighAnsi font family.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value string? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                               // C# fluent
new global::OfficeIMO.Word.WordParagraph { FontFamilyHighAnsi = value };    wordParagraph.FontFamilyHighAnsi(value);
```

`public static TSelf FontFamily<TSelf>(TSelf wordParagraph, string fontFamily)` [#](#method-fontfamily-string)

Sets the font family for the text.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**fontFamily string required**

Name of the font family.

Returns

`TSelf` The same instance.

FontSize``1 2 overloads

`public static TSelf FontSize<TSelf>(TSelf wordParagraph, OfficeLength fontSize)` [#](#method-fontsize-officeimo-officelength)

Sets the font size for the text.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**fontSize OfficeIMO.OfficeLength required**

Font size in points.

Returns

`TSelf` The same instance.

`public static TSelf FontSize<TSelf>(TSelf wordParagraph, OfficeLength? value)` [#](#method-fontsize-nullable-officeimo-officelength)

Sets [WordParagraph.FontSize](/api/word/officeimo-word-wordparagraph/): Gets or sets the font size in points with Word's native half-point precision. Values finer than half a point are rounded away from zero to the nearest representable size.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                     // C# fluent
new global::OfficeIMO.Word.WordParagraph { FontSize = value };    wordParagraph.FontSize(value);
```

`public static TSelf FootNote<TSelf>(TSelf wordParagraph, Action<WordFootNote> configure)` [#](#method-footnote-action-officeimo-word-wordfootnote)

Configures [WordParagraph.FootNote](/api/word/officeimo-word-wordparagraph/) in place: Gets the footnote associated with this paragraph, if any.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**configure System.Action<OfficeIMO.Word.WordFootNote> required**

Configures the value.

Returns

`TSelf` The same instance.

`public static TSelf Hidden<TSelf>(TSelf wordParagraph, bool? value = true)` [#](#method-hidden-nullable-system-boolean)

Sets [WordParagraph.Hidden](/api/word/officeimo-word-wordparagraph/): Gets or sets directly authored hidden formatting on this run. True hides the run, false overrides an inherited hidden setting, and null restores style inheritance. The getter reports direct formatting, not the effective style.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value bool? = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                   // C# fluent
new global::OfficeIMO.Word.WordParagraph { Hidden = value };    wordParagraph.Hidden(value);
```

Highlight``1 2 overloads

`public static TSelf Highlight<TSelf>(TSelf wordParagraph, WordHighlightColor highlight)` [#](#method-highlight-officeimo-word-wordhighlightcolor)

Sets the highlight color for the text.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**highlight OfficeIMO.Word.WordHighlightColor required**

Highlight color.

Returns

`TSelf` The same instance.

`public static TSelf Highlight<TSelf>(TSelf wordParagraph, WordHighlightColor? value)` [#](#method-highlight-nullable-officeimo-word-wordhighlightcolor)

Sets [WordParagraph.Highlight](/api/word/officeimo-word-wordparagraph/): Gets or sets the highlight color applied to the run.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value OfficeIMO.Word.WordHighlightColor? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                      // C# fluent
new global::OfficeIMO.Word.WordParagraph { Highlight = value };    wordParagraph.Highlight(value);
```

`public static TSelf Hyperlink<TSelf>(TSelf wordParagraph, Action<WordHyperLink> configure)` [#](#method-hyperlink-action-officeimo-word-wordhyperlink)

Configures [WordParagraph.Hyperlink](/api/word/officeimo-word-wordparagraph/) in place: Gets the hyperlink contained in this paragraph, if present.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**configure System.Action<OfficeIMO.Word.WordHyperLink> required**

Configures the value.

Returns

`TSelf` The same instance.

`public static TSelf Image<TSelf>(TSelf wordParagraph, Action<WordImage> configure)` [#](#method-image-action-officeimo-word-wordimage)

Configures [WordParagraph.Image](/api/word/officeimo-word-wordparagraph/) in place: Gets the first independent image associated with this run, if any. Group-owned images remain part of their group.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**configure System.Action<OfficeIMO.Word.WordImage> required**

Configures the value.

Returns

`TSelf` The same instance.

`public static TSelf IndentationAfter<TSelf>(TSelf wordParagraph, OfficeLength? value)` [#](#method-indentationafter-nullable-officeimo-officelength)

Sets [WordParagraph.IndentationAfter](/api/word/officeimo-word-wordparagraph/): Gets or sets the indentation after the paragraph as a physical length. Reading accepts the w:end spelling when w:right is absent; setting writes w:right and removes w:end.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                             // C# fluent
new global::OfficeIMO.Word.WordParagraph { IndentationAfter = value };    wordParagraph.IndentationAfter(value);
```

`public static TSelf IndentationBefore<TSelf>(TSelf wordParagraph, OfficeLength? value)` [#](#method-indentationbefore-nullable-officeimo-officelength)

Sets [WordParagraph.IndentationBefore](/api/word/officeimo-word-wordparagraph/): Gets or sets the indentation before the paragraph as a physical length. Reading accepts the w:start spelling when w:left is absent; setting writes w:left and removes w:start.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                              // C# fluent
new global::OfficeIMO.Word.WordParagraph { IndentationBefore = value };    wordParagraph.IndentationBefore(value);
```

`public static TSelf IndentationFirstLine<TSelf>(TSelf wordParagraph, OfficeLength? value)` [#](#method-indentationfirstline-nullable-officeimo-officelength)

Sets [WordParagraph.IndentationFirstLine](/api/word/officeimo-word-wordparagraph/): Gets or sets the first line indentation as a physical length.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                                 // C# fluent
new global::OfficeIMO.Word.WordParagraph { IndentationFirstLine = value };    wordParagraph.IndentationFirstLine(value);
```

`public static TSelf IndentationHanging<TSelf>(TSelf wordParagraph, OfficeLength? value)` [#](#method-indentationhanging-nullable-officeimo-officelength)

Sets [WordParagraph.IndentationHanging](/api/word/officeimo-word-wordparagraph/): Gets or sets the hanging indentation as a physical length.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                               // C# fluent
new global::OfficeIMO.Word.WordParagraph { IndentationHanging = value };    wordParagraph.IndentationHanging(value);
```

`public static TSelf Italic<TSelf>(TSelf wordParagraph, bool isItalic = true)` [#](#method-italic-boolean)

Sets the [WordParagraph.Italic](/api/word/officeimo-word-wordparagraph/) property.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**isItalic bool = true optional**

Whether the text should be italic.

Returns

`TSelf` The same instance.

`public static TSelf KeepLinesTogetherOverride<TSelf>(TSelf wordParagraph, bool? value = true)` [#](#method-keeplinestogetheroverride-nullable-system-boolean)

Sets [WordParagraph.KeepLinesTogetherOverride](/api/word/officeimo-word-wordparagraph/): Gets or sets directly authored keep-lines-together formatting. Null restores style inheritance; false overrides an enabled style.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value bool? = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                                      // C# fluent
new global::OfficeIMO.Word.WordParagraph { KeepLinesTogetherOverride = value };    wordParagraph.KeepLinesTogetherOverride(value);
```

`public static TSelf KeepLinesTogether<TSelf>(TSelf wordParagraph, bool value = true)` [#](#method-keeplinestogether-boolean)

Sets [WordParagraph.KeepLinesTogether](/api/word/officeimo-word-wordparagraph/): Gets or sets directly authored keep-lines-together formatting without resolving paragraph styles.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                              // C# fluent
new global::OfficeIMO.Word.WordParagraph { KeepLinesTogether = value };    wordParagraph.KeepLinesTogether(value);
```

`public static TSelf KeepWithNextOverride<TSelf>(TSelf wordParagraph, bool? value = true)` [#](#method-keepwithnextoverride-nullable-system-boolean)

Sets [WordParagraph.KeepWithNextOverride](/api/word/officeimo-word-wordparagraph/): Gets or sets directly authored keep-with-next formatting. Null restores style inheritance; false overrides an enabled style.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value bool? = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                                 // C# fluent
new global::OfficeIMO.Word.WordParagraph { KeepWithNextOverride = value };    wordParagraph.KeepWithNextOverride(value);
```

`public static TSelf KeepWithNext<TSelf>(TSelf wordParagraph, bool value = true)` [#](#method-keepwithnext-boolean)

Sets [WordParagraph.KeepWithNext](/api/word/officeimo-word-wordparagraph/): Gets or sets directly authored keep-with-next formatting without resolving paragraph styles.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                         // C# fluent
new global::OfficeIMO.Word.WordParagraph { KeepWithNext = value };    wordParagraph.KeepWithNext(value);
```

`public static TSelf KerningMinimumFontSize<TSelf>(TSelf wordParagraph, OfficeLength? value)` [#](#method-kerningminimumfontsize-nullable-officeimo-officelength)

Sets [WordParagraph.KerningMinimumFontSize](/api/word/officeimo-word-wordparagraph/): Gets or sets the minimum font size, in points, at which this run uses kerning. Null inherits the threshold; zero disables kerning. Values from zero to 1638 are rounded to Word's half-point precision and are preserved in DOCX and native DOC.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                                   // C# fluent
new global::OfficeIMO.Word.WordParagraph { KerningMinimumFontSize = value };    wordParagraph.KerningMinimumFontSize(value);
```

`public static TSelf Language<TSelf>(TSelf wordParagraph, string language)` [#](#method-language-string)

Sets the language for the text run.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**language string required**

Language tag, such as en-US or pl-PL.

Returns

`TSelf` The same instance.

`public static TSelf LineSpacingAfter<TSelf>(TSelf wordParagraph, OfficeLength? value)` [#](#method-linespacingafter-nullable-officeimo-officelength)

Sets [WordParagraph.LineSpacingAfter](/api/word/officeimo-word-wordparagraph/): Gets or sets the spacing after the paragraph as a physical length.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                             // C# fluent
new global::OfficeIMO.Word.WordParagraph { LineSpacingAfter = value };    wordParagraph.LineSpacingAfter(value);
```

`public static TSelf LineSpacingBefore<TSelf>(TSelf wordParagraph, OfficeLength? value)` [#](#method-linespacingbefore-nullable-officeimo-officelength)

Sets [WordParagraph.LineSpacingBefore](/api/word/officeimo-word-wordparagraph/): Gets or sets the spacing before the paragraph as a physical length.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                              // C# fluent
new global::OfficeIMO.Word.WordParagraph { LineSpacingBefore = value };    wordParagraph.LineSpacingBefore(value);
```

`public static TSelf LineSpacing<TSelf>(TSelf wordParagraph, WordLineSpacing? value)` [#](#method-linespacing-nullable-officeimo-word-wordlinespacing)

Sets [WordParagraph.LineSpacing](/api/word/officeimo-word-wordparagraph/): Gets or sets directly authored line spacing as a multiplier, exact height, or minimum height. Null removes both line attributes, retaining before/after and other spacing attributes.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value OfficeIMO.Word.WordLineSpacing? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                        // C# fluent
new global::OfficeIMO.Word.WordParagraph { LineSpacing = value };    wordParagraph.LineSpacing(value);
```

`public static TSelf Line<TSelf>(TSelf wordParagraph, Action<WordLine> configure)` [#](#method-line-action-officeimo-word-wordline)

Configures [WordParagraph.Line](/api/word/officeimo-word-wordparagraph/) in place: Gets the line shape contained in this paragraph, if present.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**configure System.Action<OfficeIMO.Word.WordLine> required**

Configures the value.

Returns

`TSelf` The same instance.

`public static TSelf ListItemLevel<TSelf>(TSelf wordParagraph, int? value)` [#](#method-listitemlevel-nullable-system-int32)

Sets [WordParagraph.ListItemLevel](/api/word/officeimo-word-wordparagraph/): Gets or sets the indentation level for the paragraph when it belongs to a list.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value int? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                          // C# fluent
new global::OfficeIMO.Word.WordParagraph { ListItemLevel = value };    wordParagraph.ListItemLevel(value);
```

`public static TSelf MirrorIndents<TSelf>(TSelf wordParagraph, bool? value = true)` [#](#method-mirrorindents-nullable-system-boolean)

Sets [WordParagraph.MirrorIndents](/api/word/officeimo-word-wordparagraph/): Gets or sets use of left/right indents as inside/outside indents. Null restores style inheritance. Fixed-layout exporters have their own mirrored-layout support limits.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value bool? = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                          // C# fluent
new global::OfficeIMO.Word.WordParagraph { MirrorIndents = value };    wordParagraph.MirrorIndents(value);
```

`public static TSelf OutlineLevel<TSelf>(TSelf wordParagraph, int? value)` [#](#method-outlinelevel-nullable-system-int32)

Sets [WordParagraph.OutlineLevel](/api/word/officeimo-word-wordparagraph/): Gets or sets the directly authored outline level: 0-8 for heading levels 1-9, 9 for body text, or null to inherit. Word uses the built-in heading level for Heading1-Heading9 styles regardless of this authored value.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value int? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                         // C# fluent
new global::OfficeIMO.Word.WordParagraph { OutlineLevel = value };    wordParagraph.OutlineLevel(value);
```

`public static TSelf Outline<TSelf>(TSelf wordParagraph, bool isOutline = true)` [#](#method-outline-boolean)

Enables or disables outline effect on the text.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**isOutline bool = true optional**

Whether the text should be outlined.

Returns

`TSelf` The same instance.

`public static TSelf PageBreakBeforeOverride<TSelf>(TSelf wordParagraph, bool? value = true)` [#](#method-pagebreakbeforeoverride-nullable-system-boolean)

Sets [WordParagraph.PageBreakBeforeOverride](/api/word/officeimo-word-wordparagraph/): Gets or sets directly authored page-break-before formatting. Null restores style inheritance; false overrides an enabled style.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value bool? = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                                    // C# fluent
new global::OfficeIMO.Word.WordParagraph { PageBreakBeforeOverride = value };    wordParagraph.PageBreakBeforeOverride(value);
```

`public static TSelf PageBreakBefore<TSelf>(TSelf wordParagraph, bool value = true)` [#](#method-pagebreakbefore-boolean)

Sets [WordParagraph.PageBreakBefore](/api/word/officeimo-word-wordparagraph/): Gets or sets a directly authored page-break-before value; this does not resolve inherited paragraph styles.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                            // C# fluent
new global::OfficeIMO.Word.WordParagraph { PageBreakBefore = value };    wordParagraph.PageBreakBefore(value);
```

`public static TSelf ParagraphAlignment<TSelf>(TSelf wordParagraph, WordParagraphAlignment? value)` [#](#method-paragraphalignment-nullable-officeimo-word-wordparagraphalignment)

Sets [WordParagraph.ParagraphAlignment](/api/word/officeimo-word-wordparagraph/): Alignment aka Paragraph Alignment. This element specifies the paragraph alignment which shall be applied to text in this paragraph. If this element is omitted on a given paragraph, its value is determined by the setting previously set at any level of the style hierarchy (i.e.that previous setting remains unchanged). If this setting is never specified in the style hierarchy, then no alignment is applied to the paragraph. Setting this property to null removes direct alignment and restores style inheritance.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value OfficeIMO.Word.WordParagraphAlignment? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                               // C# fluent
new global::OfficeIMO.Word.WordParagraph { ParagraphAlignment = value };    wordParagraph.ParagraphAlignment(value);
```

`public static TSelf PictureControl<TSelf>(TSelf wordParagraph, Action<WordPictureControl> configure)` [#](#method-picturecontrol-action-officeimo-word-wordpicturecontrol)

Configures [WordParagraph.PictureControl](/api/word/officeimo-word-wordparagraph/) in place: Gets the picture content control contained in this paragraph, if present.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**configure System.Action<OfficeIMO.Word.WordPictureControl> required**

Configures the value.

Returns

`TSelf` The same instance.

`public static TSelf RepeatingSection<TSelf>(TSelf wordParagraph, Action<WordRepeatingSection> configure)` [#](#method-repeatingsection-action-officeimo-word-wordrepeatingsection)

Configures [WordParagraph.RepeatingSection](/api/word/officeimo-word-wordparagraph/) in place: Gets the repeating section contained in this paragraph, if present.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**configure System.Action<OfficeIMO.Word.WordRepeatingSection> required**

Configures the value.

Returns

`TSelf` The same instance.

`public static TSelf ShadingFillColor<TSelf>(TSelf wordParagraph, OfficeColor? value)` [#](#method-shadingfillcolor-nullable-officeimo-officecolor)

Sets [WordParagraph.ShadingFillColor](/api/word/officeimo-word-wordparagraph/): Get or set the paragraph shading fill color. Setting null removes the shading.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value OfficeIMO.OfficeColor? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                             // C# fluent
new global::OfficeIMO.Word.WordParagraph { ShadingFillColor = value };    wordParagraph.ShadingFillColor(value);
```

`public static TSelf ShadingPattern<TSelf>(TSelf wordParagraph, WordShadingPattern? value)` [#](#method-shadingpattern-nullable-officeimo-word-wordshadingpattern)

Sets [WordParagraph.ShadingPattern](/api/word/officeimo-word-wordparagraph/): Get or set the paragraph shading pattern.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value OfficeIMO.Word.WordShadingPattern? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                           // C# fluent
new global::OfficeIMO.Word.WordParagraph { ShadingPattern = value };    wordParagraph.ShadingPattern(value);
```

`public static TSelf Shadow<TSelf>(TSelf wordParagraph, bool isShadow = true)` [#](#method-shadow-boolean)

Enables or disables shadow effect on the text.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**isShadow bool = true optional**

Whether the text should have a shadow.

Returns

`TSelf` The same instance.

`public static TSelf Shape<TSelf>(TSelf wordParagraph, Action<WordShape> configure)` [#](#method-shape-action-officeimo-word-wordshape)

Configures [WordParagraph.Shape](/api/word/officeimo-word-wordparagraph/) in place: Returns a [WordShape](/api/word/officeimo-word-wordshape/) instance when the paragraph contains shapes.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**configure System.Action<OfficeIMO.Word.WordShape> required**

Configures the value.

Returns

`TSelf` The same instance.

`public static TSelf SmallCaps<TSelf>(TSelf wordParagraph, bool isSmallCaps = true)` [#](#method-smallcaps-boolean)

Enables or disables small caps formatting on the text.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**isSmallCaps bool = true optional**

Whether the text should use small caps.

Returns

`TSelf` The same instance.

`public static TSelf Spacing<TSelf>(TSelf wordParagraph, OfficeLength? spacing)` [#](#method-spacing-nullable-officeimo-officelength)

Sets the character spacing for the text.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**spacing OfficeIMO.OfficeLength? required**

Signed character spacing, or null to remove the local value.

Returns

`TSelf` The same instance.

`public static TSelf Strikethrough<TSelf>(TSelf wordParagraph, bool strikethrough = true)` [#](#method-strikethrough-boolean)

Enables or disables single strikethrough on the text.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**strikethrough bool = true optional**

Whether the text should be struck through.

Returns

`TSelf` The same instance.

`public static TSelf StructuredDocumentTag<TSelf>(TSelf wordParagraph, Action<WordStructuredDocumentTag> configure)` [#](#method-structureddocumenttag-action-officeimo-word-wordstructureddocumenttag)

Configures [WordParagraph.StructuredDocumentTag](/api/word/officeimo-word-wordparagraph/) in place: Gets the structured document tag contained in this paragraph, if present.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**configure System.Action<OfficeIMO.Word.WordStructuredDocumentTag> required**

Configures the value.

Returns

`TSelf` The same instance.

`public static TSelf StyleId<TSelf>(TSelf wordParagraph, string styleId)` [#](#method-styleid-string)

Sets the paragraph style by identifier.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**styleId string required**

The style identifier.

Returns

`TSelf` The same instance.

Style``1 3 overloads

`public static TSelf Style<TSelf>(TSelf wordParagraph, WordParagraphStyles style)` [#](#method-style-officeimo-word-wordparagraphstyles)

Sets the paragraph style.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**style OfficeIMO.Word.WordParagraphStyles required**

The style to apply.

Returns

`TSelf` The same instance.

`public static TSelf Style<TSelf>(TSelf wordParagraph, WordStyle style)` [#](#method-style-officeimo-word-wordstyle)

Applies a paragraph style defined in this paragraph's document.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**style OfficeIMO.Word.WordStyle required**

A paragraph style from [WordDocument.Styles](/api/word/officeimo-word-worddocument/).

Returns

`TSelf` The same instance.

`public static TSelf Style<TSelf>(TSelf wordParagraph, WordParagraphStyles? value)` [#](#method-style-nullable-officeimo-word-wordparagraphstyles)

Sets [WordParagraph.Style](/api/word/officeimo-word-wordparagraph/): Gets or sets the paragraph style. Updating this to a heading style will flag the document to update the table of contents on open.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value OfficeIMO.Word.WordParagraphStyles? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                  // C# fluent
new global::OfficeIMO.Word.WordParagraph { Style = value };    wordParagraph.Style(value);
```

`public static TSelf Subscript<TSelf>(TSelf wordParagraph)` [#](#method-subscript)

Set the text as subscript

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

Returns

`TSelf` The same instance.

`public static TSelf Superscript<TSelf>(TSelf wordParagraph)` [#](#method-superscript)

Set the text as superscript

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

Returns

`TSelf` The same instance.

`public static TSelf SuppressAutoHyphens<TSelf>(TSelf wordParagraph, bool? value = true)` [#](#method-suppressautohyphens-nullable-system-boolean)

Sets [WordParagraph.SuppressAutoHyphens](/api/word/officeimo-word-wordparagraph/): Gets or sets paragraph automatic-hyphenation suppression. Null restores style inheritance. Automatic Word hyphenation is not supplied by this property.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value bool? = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                                // C# fluent
new global::OfficeIMO.Word.WordParagraph { SuppressAutoHyphens = value };    wordParagraph.SuppressAutoHyphens(value);
```

`public static TSelf SuppressLineNumbers<TSelf>(TSelf wordParagraph, bool? value = true)` [#](#method-suppresslinenumbers-nullable-system-boolean)

Sets [WordParagraph.SuppressLineNumbers](/api/word/officeimo-word-wordparagraph/): Gets or sets paragraph line-number suppression. Null restores style inheritance. This preserves the Word setting and does not enable line-number rendering in PDF.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value bool? = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                                // C# fluent
new global::OfficeIMO.Word.WordParagraph { SuppressLineNumbers = value };    wordParagraph.SuppressLineNumbers(value);
```

`public static TSelf TextBox<TSelf>(TSelf wordParagraph, Action<WordTextBox> configure)` [#](#method-textbox-action-officeimo-word-wordtextbox)

Configures [WordParagraph.TextBox](/api/word/officeimo-word-wordparagraph/) in place: Gets the [WordTextBox](/api/word/officeimo-word-wordtextbox/) contained within the paragraph, if any.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**configure System.Action<OfficeIMO.Word.WordTextBox> required**

Configures the value.

Returns

`TSelf` The same instance.

`public static TSelf TextDirection<TSelf>(TSelf wordParagraph, WordTextDirection? value)` [#](#method-textdirection-nullable-officeimo-word-wordtextdirection)

Sets [WordParagraph.TextDirection](/api/word/officeimo-word-wordparagraph/): Gets or sets the text flow direction for the paragraph.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value OfficeIMO.Word.WordTextDirection? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                          // C# fluent
new global::OfficeIMO.Word.WordParagraph { TextDirection = value };    wordParagraph.TextDirection(value);
```

`public static TSelf Text<TSelf>(TSelf wordParagraph, string text)` [#](#method-text-string)

Sets the paragraph text.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**text string required**

The text content.

Returns

`TSelf` The same instance.

`public static TSelf ThemeColor<TSelf>(TSelf wordParagraph, WordThemeColor? value)` [#](#method-themecolor-nullable-officeimo-word-wordthemecolor)

Sets [WordParagraph.ThemeColor](/api/word/officeimo-word-wordparagraph/): Gets or sets the theme color applied to the run.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value OfficeIMO.Word.WordThemeColor? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                       // C# fluent
new global::OfficeIMO.Word.WordParagraph { ThemeColor = value };    wordParagraph.ThemeColor(value);
```

Underline``1 2 overloads

`public static TSelf Underline<TSelf>(TSelf wordParagraph, WordUnderlineStyle underline)` [#](#method-underline-officeimo-word-wordunderlinestyle)

Sets the underline style for the text.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**underline OfficeIMO.Word.WordUnderlineStyle required**

Underline style.

Returns

`TSelf` The same instance.

`public static TSelf Underline<TSelf>(TSelf wordParagraph, WordUnderlineStyle? value)` [#](#method-underline-nullable-officeimo-word-wordunderlinestyle)

Sets [WordParagraph.Underline](/api/word/officeimo-word-wordparagraph/): Gets or sets the underline style for the run.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value OfficeIMO.Word.WordUnderlineStyle? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                      // C# fluent
new global::OfficeIMO.Word.WordParagraph { Underline = value };    wordParagraph.Underline(value);
```

`public static TSelf VerticalCharacterAlignmentOnLine<TSelf>(TSelf wordParagraph, WordVerticalCharacterAlignment? value)` [#](#method-verticalcharacteralignmentonline-nullable-officeimo-word-wordverticalcharacteralignment)

Sets [WordParagraph.VerticalCharacterAlignmentOnLine](/api/word/officeimo-word-wordparagraph/): Text Alignment aka Vertical Character Alignment on Line. This element specifies the vertical alignment of all text on each line displayed within a paragraph. If the line height (before any added spacing) is larger than one or more characters on the line, all characters are aligned to each other as specified by this element. If this element is omitted on a given paragraph, its value is determined by the setting previously set at any level of the style hierarchy (i.e.that previous setting remains unchanged). If this setting is never specified in the style hierarchy, then the vertical alignment of all characters on the line shall be automatically determined by the consumer. Setting this property to null removes direct alignment and restores style inheritance.

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**value OfficeIMO.Word.WordVerticalCharacterAlignment? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                                             // C# fluent
new global::OfficeIMO.Word.WordParagraph { VerticalCharacterAlignmentOnLine = value };    wordParagraph.VerticalCharacterAlignmentOnLine(value);
```

`public static TSelf VerticalTextAlignment<TSelf>(TSelf wordParagraph, WordVerticalTextPosition? verticalPositionValue)` [#](#method-verticaltextalignment-nullable-officeimo-word-wordverticaltextposition)

Set the vertical text alignment

Type Parameters

**TSelf**

Parameters

**wordParagraph TSelf required**

The instance.

**verticalPositionValue OfficeIMO.Word.WordVerticalTextPosition? required**

The value.

Returns

`TSelf` The same instance.

## 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?`

<!-- PowerForge markdown artifact sha256:2D41D1FA82E5E7F05856D3C94B1464764F1B9C4E813AF3F56979920B8A269720 -->
