# RtfTableCellBorderFluent

The fluent methods of RtfTableCellBorder, 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 [RtfTableCellBorder](/api/rtf/officeimo-rtf-rtftablecellborder/), 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
- RtfTableCellBorderFluent

Filter members 

Show inherited

## Methods

`public static RtfTableCellBorder ColorIndex(RtfTableCellBorder rtfTableCellBorder, int? value)` [#](#method-colorindex-officeimo-rtf-rtftablecellborder-nullable-system-int32)

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

Parameters

**rtfTableCellBorder OfficeIMO.Rtf.RtfTableCellBorder required**

The instance.

**value int? required**

The value.

Returns

`RtfTableCellBorder` The same instance.

Examples

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

`public static RtfTableCellBorder Style(RtfTableCellBorder rtfTableCellBorder, RtfTableCellBorderStyle value)` [#](#method-style-officeimo-rtf-rtftablecellborder-officeimo-rtf-rtftablecellborderstyle)

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

Parameters

**rtfTableCellBorder OfficeIMO.Rtf.RtfTableCellBorder required**

The instance.

**value OfficeIMO.Rtf.RtfTableCellBorderStyle required**

The value.

Returns

`RtfTableCellBorder` The same instance.

Examples

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

`public static RtfTableCellBorder Width(RtfTableCellBorder rtfTableCellBorder, int? value)` [#](#method-width-officeimo-rtf-rtftablecellborder-nullable-system-int32)

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

Parameters

**rtfTableCellBorder OfficeIMO.Rtf.RtfTableCellBorder required**

The instance.

**value int? required**

The value.

Returns

`RtfTableCellBorder` The same instance.

Examples

```csharp
// C# initializer or property                                      // C# fluent
new global::OfficeIMO.Rtf.RtfTableCellBorder { Width = value };    rtfTableCellBorder.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:5F3EF3A28F22202AFFB8CC79346C63015B593D9B63B9249B3C2D39802A8D67C7 -->
