# RtfParagraphBorderFluent

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

Class 

`OfficeIMO.Rtf`

**Namespace**

`OfficeIMO.Rtf`

**Assembly**

`OfficeIMO.Rtf`

**Modifiers**

static

The fluent methods of [RtfParagraphBorder](/api/rtf/officeimo-rtf-rtfparagraphborder/), 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
- RtfParagraphBorderFluent

Filter members 

Show inherited

## Methods

`public static RtfParagraphBorder ColorIndex(RtfParagraphBorder rtfParagraphBorder, int? value)` [#](#method-colorindex-officeimo-rtf-rtfparagraphborder-nullable-system-int32)

Sets [RtfParagraphBorder.ColorIndex](/api/rtf/officeimo-rtf-rtfparagraphborder/): One-based color table index.

Parameters

**rtfParagraphBorder OfficeIMO.Rtf.RtfParagraphBorder required**

The instance.

**value int? required**

The value.

Returns

`RtfParagraphBorder` The same instance.

Examples

```csharp
// C# initializer or property                                           // C# fluent
new global::OfficeIMO.Rtf.RtfParagraphBorder { ColorIndex = value };    rtfParagraphBorder.ColorIndex(value);
```

`public static RtfParagraphBorder DirectStyle(RtfParagraphBorder rtfParagraphBorder, RtfParagraphBorderStyle? value)` [#](#method-directstyle-officeimo-rtf-rtfparagraphborder-nullable-officeimo-rtf-rtfparagraphborderstyle)

Sets [RtfParagraphBorder.DirectStyle](/api/rtf/officeimo-rtf-rtfparagraphborder/): Authored border style. An explicit None clears an inherited border; null inherits.

Parameters

**rtfParagraphBorder OfficeIMO.Rtf.RtfParagraphBorder required**

The instance.

**value OfficeIMO.Rtf.RtfParagraphBorderStyle? required**

The value.

Returns

`RtfParagraphBorder` The same instance.

Examples

```csharp
// C# initializer or property                                            // C# fluent
new global::OfficeIMO.Rtf.RtfParagraphBorder { DirectStyle = value };    rtfParagraphBorder.DirectStyle(value);
```

`public static RtfParagraphBorder Style(RtfParagraphBorder rtfParagraphBorder, RtfParagraphBorderStyle value)` [#](#method-style-officeimo-rtf-rtfparagraphborder-officeimo-rtf-rtfparagraphborderstyle)

Sets [RtfParagraphBorder.Style](/api/rtf/officeimo-rtf-rtfparagraphborder/): Border line style.

Parameters

**rtfParagraphBorder OfficeIMO.Rtf.RtfParagraphBorder required**

The instance.

**value OfficeIMO.Rtf.RtfParagraphBorderStyle required**

The value.

Returns

`RtfParagraphBorder` The same instance.

Examples

```csharp
// C# initializer or property                                      // C# fluent
new global::OfficeIMO.Rtf.RtfParagraphBorder { Style = value };    rtfParagraphBorder.Style(value);
```

`public static RtfParagraphBorder Width(RtfParagraphBorder rtfParagraphBorder, int? value)` [#](#method-width-officeimo-rtf-rtfparagraphborder-nullable-system-int32)

Sets [RtfParagraphBorder.Width](/api/rtf/officeimo-rtf-rtfparagraphborder/): Border width value carried by the RTF \brdrw control.

Parameters

**rtfParagraphBorder OfficeIMO.Rtf.RtfParagraphBorder required**

The instance.

**value int? required**

The value.

Returns

`RtfParagraphBorder` The same instance.

Examples

```csharp
// C# initializer or property                                      // C# fluent
new global::OfficeIMO.Rtf.RtfParagraphBorder { Width = value };    rtfParagraphBorder.Width(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:66F45AF065FE9B2D1DD02EE56A7FB0898D935E54302C4104A322C568078422EB -->
