# WordBordersFluent

The fluent methods of WordBorders, 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 [WordBorders](/api/word/officeimo-word-wordborders/), 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
- WordBordersFluent

Filter members 

Show inherited

## Methods

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

Sets [WordBorders.BottomColor](/api/word/officeimo-word-wordborders/): Gets or sets the bottom border color using a OfficeColor value.

Type Parameters

**TSelf**

Parameters

**wordBorders TSelf required**

The instance.

**value OfficeIMO.OfficeColor? required**

The value.

Returns

`TSelf` The same instance.

Examples

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

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

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

Type Parameters

**TSelf**

Parameters

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

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

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

Type Parameters

**TSelf**

Parameters

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

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

Sets [WordBorders.BottomSize](/api/word/officeimo-word-wordborders/): Gets or sets the width of the bottom border.

Type Parameters

**TSelf**

Parameters

**wordBorders TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

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

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

Sets [WordBorders.BottomSpace](/api/word/officeimo-word-wordborders/): Gets or sets the space between the bottom border and page text.

Type Parameters

**TSelf**

Parameters

**wordBorders TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

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

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

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

Type Parameters

**TSelf**

Parameters

**wordBorders TSelf required**

The instance.

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

The value.

Returns

`TSelf` The same instance.

Examples

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

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

Sets [WordBorders.LeftColor](/api/word/officeimo-word-wordborders/): Gets or sets the left border color using a OfficeColor value.

Type Parameters

**TSelf**

Parameters

**wordBorders TSelf required**

The instance.

**value OfficeIMO.OfficeColor? required**

The value.

Returns

`TSelf` The same instance.

Examples

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

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

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

Type Parameters

**TSelf**

Parameters

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

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

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

Type Parameters

**TSelf**

Parameters

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

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

Sets [WordBorders.LeftSize](/api/word/officeimo-word-wordborders/): Gets or sets the width of the left border.

Type Parameters

**TSelf**

Parameters

**wordBorders TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

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

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

Sets [WordBorders.LeftSpace](/api/word/officeimo-word-wordborders/): Gets or sets the space between the left border and page text.

Type Parameters

**TSelf**

Parameters

**wordBorders TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

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

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

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

Type Parameters

**TSelf**

Parameters

**wordBorders TSelf required**

The instance.

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

The value.

Returns

`TSelf` The same instance.

Examples

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

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

Sets [WordBorders.RightColor](/api/word/officeimo-word-wordborders/): Gets or sets the right border color using a OfficeColor value.

Type Parameters

**TSelf**

Parameters

**wordBorders TSelf required**

The instance.

**value OfficeIMO.OfficeColor? required**

The value.

Returns

`TSelf` The same instance.

Examples

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

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

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

Type Parameters

**TSelf**

Parameters

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

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

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

Type Parameters

**TSelf**

Parameters

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

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

Sets [WordBorders.RightSize](/api/word/officeimo-word-wordborders/): Gets or sets the width of the right border.

Type Parameters

**TSelf**

Parameters

**wordBorders TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

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

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

Sets [WordBorders.RightSpace](/api/word/officeimo-word-wordborders/): Gets or sets the space between the right border and page text.

Type Parameters

**TSelf**

Parameters

**wordBorders TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

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

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

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

Type Parameters

**TSelf**

Parameters

**wordBorders TSelf required**

The instance.

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

The value.

Returns

`TSelf` The same instance.

Examples

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

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

Sets [WordBorders.TopColor](/api/word/officeimo-word-wordborders/): Gets or sets the top border color using a OfficeColor value.

Type Parameters

**TSelf**

Parameters

**wordBorders TSelf required**

The instance.

**value OfficeIMO.OfficeColor? required**

The value.

Returns

`TSelf` The same instance.

Examples

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

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

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

Type Parameters

**TSelf**

Parameters

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

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

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

Type Parameters

**TSelf**

Parameters

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

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

Sets [WordBorders.TopSize](/api/word/officeimo-word-wordborders/): Gets or sets the width of the top border.

Type Parameters

**TSelf**

Parameters

**wordBorders TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

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

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

Sets [WordBorders.TopSpace](/api/word/officeimo-word-wordborders/): Gets or sets the space between the top border and page text.

Type Parameters

**TSelf**

Parameters

**wordBorders TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

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

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

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

Type Parameters

**TSelf**

Parameters

**wordBorders TSelf required**

The instance.

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

The value.

Returns

`TSelf` The same instance.

Examples

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

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

Sets [WordBorders.Type](/api/word/officeimo-word-wordborders/): Gets or sets the preset border configuration applied to the section.

Type Parameters

**TSelf**

Parameters

**wordBorders TSelf required**

The instance.

**value OfficeIMO.Word.WordBorder required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property    // C# fluent
wordBorders.Type = value;        wordBorders.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:22CBE9D06522619958879CF8514D6C51511FE2311939DC0E8DBA7210CC7E5D72 -->
