# WordParagraphBordersFluent

The fluent methods of WordParagraphBorders, 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 [WordParagraphBorders](/api/word/officeimo-word-wordparagraphborders/), 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
- WordParagraphBordersFluent

Filter members 

Show inherited

## Methods

`public static TSelf Border<TSelf>(TSelf wordParagraphBorders, WordParagraphBorderType type, WordBorderStyle style, OfficeColor color, OfficeLength size, bool shadow)` [#](#method-border-officeimo-word-wordparagraphbordertype-officeimo-word-wordborderstyle-officeimo-officecolor-officeimo-officelength-boolean)

Sets the style, color, width and shadow of one paragraph border.

Type Parameters

**TSelf**

Parameters

**wordParagraphBorders TSelf required**

The instance.

**type OfficeIMO.Word.WordParagraphBorderType required**

Border side.

**style OfficeIMO.Word.WordBorderStyle required**

Border style.

**color OfficeIMO.OfficeColor required**

Border color.

**size OfficeIMO.OfficeLength required**

Border width, rounded to the nearest eighth of a point.

**shadow bool required**

Whether the border has a shadow.

Returns

`TSelf` The same instance.

`public static TSelf BottomColor<TSelf>(TSelf wordParagraphBorders, OfficeColor? value)` [#](#method-bottomcolor-nullable-officeimo-officecolor)

Sets [WordParagraphBorders.BottomColor](/api/word/officeimo-word-wordparagraphborders/): Gets or sets the bottom border color.

Type Parameters

**TSelf**

Parameters

**wordParagraphBorders TSelf required**

The instance.

**value OfficeIMO.OfficeColor? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                // C# fluent
wordParagraphBorders.BottomColor = value;    wordParagraphBorders.BottomColor(value);
```

`public static TSelf BottomFrame<TSelf>(TSelf wordParagraphBorders, bool? value = true)` [#](#method-bottomframe-nullable-system-boolean)

Sets [WordParagraphBorders.BottomFrame](/api/word/officeimo-word-wordparagraphborders/): Gets or sets a value indicating whether the bottom border is part of a frame.

Type Parameters

**TSelf**

Parameters

**wordParagraphBorders 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
wordParagraphBorders.BottomFrame = value;    wordParagraphBorders.BottomFrame(value);
```

`public static TSelf BottomShadow<TSelf>(TSelf wordParagraphBorders, bool? value = true)` [#](#method-bottomshadow-nullable-system-boolean)

Sets [WordParagraphBorders.BottomShadow](/api/word/officeimo-word-wordparagraphborders/): Gets or sets a value indicating whether the bottom border has a shadow.

Type Parameters

**TSelf**

Parameters

**wordParagraphBorders 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
wordParagraphBorders.BottomShadow = value;    wordParagraphBorders.BottomShadow(value);
```

`public static TSelf BottomSize<TSelf>(TSelf wordParagraphBorders, OfficeLength? value)` [#](#method-bottomsize-nullable-officeimo-officelength)

Sets [WordParagraphBorders.BottomSize](/api/word/officeimo-word-wordparagraphborders/): Gets or sets the bottom border width as a physical length.

Type Parameters

**TSelf**

Parameters

**wordParagraphBorders TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property               // C# fluent
wordParagraphBorders.BottomSize = value;    wordParagraphBorders.BottomSize(value);
```

`public static TSelf BottomSpace<TSelf>(TSelf wordParagraphBorders, OfficeLength? value)` [#](#method-bottomspace-nullable-officeimo-officelength)

Sets [WordParagraphBorders.BottomSpace](/api/word/officeimo-word-wordparagraphborders/): Gets or sets the bottom border spacing.

Type Parameters

**TSelf**

Parameters

**wordParagraphBorders TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                // C# fluent
wordParagraphBorders.BottomSpace = value;    wordParagraphBorders.BottomSpace(value);
```

`public static TSelf BottomStyle<TSelf>(TSelf wordParagraphBorders, WordBorderStyle? value)` [#](#method-bottomstyle-nullable-officeimo-word-wordborderstyle)

Sets [WordParagraphBorders.BottomStyle](/api/word/officeimo-word-wordparagraphborders/): Gets or sets the bottom border style.

Type Parameters

**TSelf**

Parameters

**wordParagraphBorders TSelf required**

The instance.

**value OfficeIMO.Word.WordBorderStyle? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                // C# fluent
wordParagraphBorders.BottomStyle = value;    wordParagraphBorders.BottomStyle(value);
```

`public static TSelf BottomThemeColor<TSelf>(TSelf wordParagraphBorders, WordThemeColor? value)` [#](#method-bottomthemecolor-nullable-officeimo-word-wordthemecolor)

Sets [WordParagraphBorders.BottomThemeColor](/api/word/officeimo-word-wordparagraphborders/): Gets or sets the bottom border theme color.

Type Parameters

**TSelf**

Parameters

**wordParagraphBorders TSelf required**

The instance.

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

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                     // C# fluent
wordParagraphBorders.BottomThemeColor = value;    wordParagraphBorders.BottomThemeColor(value);
```

`public static TSelf LeftColor<TSelf>(TSelf wordParagraphBorders, OfficeColor? value)` [#](#method-leftcolor-nullable-officeimo-officecolor)

Sets [WordParagraphBorders.LeftColor](/api/word/officeimo-word-wordparagraphborders/): Gets or sets the left border color.

Type Parameters

**TSelf**

Parameters

**wordParagraphBorders TSelf required**

The instance.

**value OfficeIMO.OfficeColor? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property              // C# fluent
wordParagraphBorders.LeftColor = value;    wordParagraphBorders.LeftColor(value);
```

`public static TSelf LeftFrame<TSelf>(TSelf wordParagraphBorders, bool? value = true)` [#](#method-leftframe-nullable-system-boolean)

Sets [WordParagraphBorders.LeftFrame](/api/word/officeimo-word-wordparagraphborders/): Gets or sets a value indicating whether the left border is part of a frame.

Type Parameters

**TSelf**

Parameters

**wordParagraphBorders 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
wordParagraphBorders.LeftFrame = value;    wordParagraphBorders.LeftFrame(value);
```

`public static TSelf LeftShadow<TSelf>(TSelf wordParagraphBorders, bool? value = true)` [#](#method-leftshadow-nullable-system-boolean)

Sets [WordParagraphBorders.LeftShadow](/api/word/officeimo-word-wordparagraphborders/): Gets or sets a value indicating whether the left border has a shadow.

Type Parameters

**TSelf**

Parameters

**wordParagraphBorders 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
wordParagraphBorders.LeftShadow = value;    wordParagraphBorders.LeftShadow(value);
```

`public static TSelf LeftSize<TSelf>(TSelf wordParagraphBorders, OfficeLength? value)` [#](#method-leftsize-nullable-officeimo-officelength)

Sets [WordParagraphBorders.LeftSize](/api/word/officeimo-word-wordparagraphborders/): Gets or sets the left border width as a physical length.

Type Parameters

**TSelf**

Parameters

**wordParagraphBorders TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property             // C# fluent
wordParagraphBorders.LeftSize = value;    wordParagraphBorders.LeftSize(value);
```

`public static TSelf LeftSpace<TSelf>(TSelf wordParagraphBorders, OfficeLength? value)` [#](#method-leftspace-nullable-officeimo-officelength)

Sets [WordParagraphBorders.LeftSpace](/api/word/officeimo-word-wordparagraphborders/): Gets or sets the left border spacing.

Type Parameters

**TSelf**

Parameters

**wordParagraphBorders TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property              // C# fluent
wordParagraphBorders.LeftSpace = value;    wordParagraphBorders.LeftSpace(value);
```

`public static TSelf LeftStyle<TSelf>(TSelf wordParagraphBorders, WordBorderStyle? value)` [#](#method-leftstyle-nullable-officeimo-word-wordborderstyle)

Sets [WordParagraphBorders.LeftStyle](/api/word/officeimo-word-wordparagraphborders/): Gets or sets the left border style.

Type Parameters

**TSelf**

Parameters

**wordParagraphBorders TSelf required**

The instance.

**value OfficeIMO.Word.WordBorderStyle? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property              // C# fluent
wordParagraphBorders.LeftStyle = value;    wordParagraphBorders.LeftStyle(value);
```

`public static TSelf LeftThemeColor<TSelf>(TSelf wordParagraphBorders, WordThemeColor? value)` [#](#method-leftthemecolor-nullable-officeimo-word-wordthemecolor)

Sets [WordParagraphBorders.LeftThemeColor](/api/word/officeimo-word-wordparagraphborders/): Gets or sets the left border theme color.

Type Parameters

**TSelf**

Parameters

**wordParagraphBorders TSelf required**

The instance.

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

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                   // C# fluent
wordParagraphBorders.LeftThemeColor = value;    wordParagraphBorders.LeftThemeColor(value);
```

`public static TSelf RightColor<TSelf>(TSelf wordParagraphBorders, OfficeColor? value)` [#](#method-rightcolor-nullable-officeimo-officecolor)

Sets [WordParagraphBorders.RightColor](/api/word/officeimo-word-wordparagraphborders/): Gets or sets the right border color.

Type Parameters

**TSelf**

Parameters

**wordParagraphBorders TSelf required**

The instance.

**value OfficeIMO.OfficeColor? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property               // C# fluent
wordParagraphBorders.RightColor = value;    wordParagraphBorders.RightColor(value);
```

`public static TSelf RightFrame<TSelf>(TSelf wordParagraphBorders, bool? value = true)` [#](#method-rightframe-nullable-system-boolean)

Sets [WordParagraphBorders.RightFrame](/api/word/officeimo-word-wordparagraphborders/): Gets or sets a value indicating whether the right border is part of a frame.

Type Parameters

**TSelf**

Parameters

**wordParagraphBorders 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
wordParagraphBorders.RightFrame = value;    wordParagraphBorders.RightFrame(value);
```

`public static TSelf RightShadow<TSelf>(TSelf wordParagraphBorders, bool? value = true)` [#](#method-rightshadow-nullable-system-boolean)

Sets [WordParagraphBorders.RightShadow](/api/word/officeimo-word-wordparagraphborders/): Gets or sets a value indicating whether the right border has a shadow.

Type Parameters

**TSelf**

Parameters

**wordParagraphBorders 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
wordParagraphBorders.RightShadow = value;    wordParagraphBorders.RightShadow(value);
```

`public static TSelf RightSize<TSelf>(TSelf wordParagraphBorders, OfficeLength? value)` [#](#method-rightsize-nullable-officeimo-officelength)

Sets [WordParagraphBorders.RightSize](/api/word/officeimo-word-wordparagraphborders/): Gets or sets the right border width as a physical length.

Type Parameters

**TSelf**

Parameters

**wordParagraphBorders TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property              // C# fluent
wordParagraphBorders.RightSize = value;    wordParagraphBorders.RightSize(value);
```

`public static TSelf RightSpace<TSelf>(TSelf wordParagraphBorders, OfficeLength? value)` [#](#method-rightspace-nullable-officeimo-officelength)

Sets [WordParagraphBorders.RightSpace](/api/word/officeimo-word-wordparagraphborders/): Gets or sets the right border spacing.

Type Parameters

**TSelf**

Parameters

**wordParagraphBorders TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property               // C# fluent
wordParagraphBorders.RightSpace = value;    wordParagraphBorders.RightSpace(value);
```

`public static TSelf RightStyle<TSelf>(TSelf wordParagraphBorders, WordBorderStyle? value)` [#](#method-rightstyle-nullable-officeimo-word-wordborderstyle)

Sets [WordParagraphBorders.RightStyle](/api/word/officeimo-word-wordparagraphborders/): Gets or sets the right border style.

Type Parameters

**TSelf**

Parameters

**wordParagraphBorders TSelf required**

The instance.

**value OfficeIMO.Word.WordBorderStyle? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property               // C# fluent
wordParagraphBorders.RightStyle = value;    wordParagraphBorders.RightStyle(value);
```

`public static TSelf RightThemeColor<TSelf>(TSelf wordParagraphBorders, WordThemeColor? value)` [#](#method-rightthemecolor-nullable-officeimo-word-wordthemecolor)

Sets [WordParagraphBorders.RightThemeColor](/api/word/officeimo-word-wordparagraphborders/): Gets or sets the right border theme color.

Type Parameters

**TSelf**

Parameters

**wordParagraphBorders TSelf required**

The instance.

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

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                    // C# fluent
wordParagraphBorders.RightThemeColor = value;    wordParagraphBorders.RightThemeColor(value);
```

`public static TSelf TopColor<TSelf>(TSelf wordParagraphBorders, OfficeColor? value)` [#](#method-topcolor-nullable-officeimo-officecolor)

Sets [WordParagraphBorders.TopColor](/api/word/officeimo-word-wordparagraphborders/): Gets or sets the top border color.

Type Parameters

**TSelf**

Parameters

**wordParagraphBorders TSelf required**

The instance.

**value OfficeIMO.OfficeColor? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property             // C# fluent
wordParagraphBorders.TopColor = value;    wordParagraphBorders.TopColor(value);
```

`public static TSelf TopFrame<TSelf>(TSelf wordParagraphBorders, bool? value = true)` [#](#method-topframe-nullable-system-boolean)

Sets [WordParagraphBorders.TopFrame](/api/word/officeimo-word-wordparagraphborders/): Gets or sets a value indicating whether the top border is part of a frame.

Type Parameters

**TSelf**

Parameters

**wordParagraphBorders 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
wordParagraphBorders.TopFrame = value;    wordParagraphBorders.TopFrame(value);
```

`public static TSelf TopShadow<TSelf>(TSelf wordParagraphBorders, bool? value = true)` [#](#method-topshadow-nullable-system-boolean)

Sets [WordParagraphBorders.TopShadow](/api/word/officeimo-word-wordparagraphborders/): Gets or sets a value indicating whether the top border has a shadow.

Type Parameters

**TSelf**

Parameters

**wordParagraphBorders 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
wordParagraphBorders.TopShadow = value;    wordParagraphBorders.TopShadow(value);
```

`public static TSelf TopSize<TSelf>(TSelf wordParagraphBorders, OfficeLength? value)` [#](#method-topsize-nullable-officeimo-officelength)

Sets [WordParagraphBorders.TopSize](/api/word/officeimo-word-wordparagraphborders/): Gets or sets the top border width as a physical length.

Type Parameters

**TSelf**

Parameters

**wordParagraphBorders TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property            // C# fluent
wordParagraphBorders.TopSize = value;    wordParagraphBorders.TopSize(value);
```

`public static TSelf TopSpace<TSelf>(TSelf wordParagraphBorders, OfficeLength? value)` [#](#method-topspace-nullable-officeimo-officelength)

Sets [WordParagraphBorders.TopSpace](/api/word/officeimo-word-wordparagraphborders/): Gets or sets the top border spacing.

Type Parameters

**TSelf**

Parameters

**wordParagraphBorders TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property             // C# fluent
wordParagraphBorders.TopSpace = value;    wordParagraphBorders.TopSpace(value);
```

`public static TSelf TopStyle<TSelf>(TSelf wordParagraphBorders, WordBorderStyle? value)` [#](#method-topstyle-nullable-officeimo-word-wordborderstyle)

Sets [WordParagraphBorders.TopStyle](/api/word/officeimo-word-wordparagraphborders/): Gets or sets the top border style.

Type Parameters

**TSelf**

Parameters

**wordParagraphBorders TSelf required**

The instance.

**value OfficeIMO.Word.WordBorderStyle? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property             // C# fluent
wordParagraphBorders.TopStyle = value;    wordParagraphBorders.TopStyle(value);
```

`public static TSelf TopThemeColor<TSelf>(TSelf wordParagraphBorders, WordThemeColor? value)` [#](#method-topthemecolor-nullable-officeimo-word-wordthemecolor)

Sets [WordParagraphBorders.TopThemeColor](/api/word/officeimo-word-wordparagraphborders/): Gets or sets the top border theme color.

Type Parameters

**TSelf**

Parameters

**wordParagraphBorders TSelf required**

The instance.

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

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                  // C# fluent
wordParagraphBorders.TopThemeColor = value;    wordParagraphBorders.TopThemeColor(value);
```

`public static TSelf Type<TSelf>(TSelf wordParagraphBorders, WordBorder value)` [#](#method-type-officeimo-word-wordborder)

Sets [WordParagraphBorders.Type](/api/word/officeimo-word-wordparagraphborders/): Gets or sets the current border preset type.

Type Parameters

**TSelf**

Parameters

**wordParagraphBorders TSelf required**

The instance.

**value OfficeIMO.Word.WordBorder required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property         // C# fluent
wordParagraphBorders.Type = value;    wordParagraphBorders.Type(value);
```

## 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:84D5DA5735AE92769CFD3C0FE164FFD8E8D4B47E1866C8484F48649BD3802EFD -->
