# RtfTableCellBorder

Border formatting for one side of an RTF table cell.

Class 

`OfficeIMO.Rtf`

**Namespace**

`OfficeIMO.Rtf`

**Assembly**

`OfficeIMO.Rtf`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[RtfTableCellBorder.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfTableCellBorder.cs#L8)

**Implements**

`IRtfCloneable`

**Modifiers**

sealed

Border formatting for one side of an RTF table cell.

## Inheritance

- object
- RtfTableCellBorder

## Usage

Explore 6 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 6

- Property [RtfTableCell.BottomBorder](/api/rtf/officeimo-rtf-rtftablecell/#property-bottomborder)
- Property [RtfTableCell.LeftBorder](/api/rtf/officeimo-rtf-rtftablecell/#property-leftborder)
- Property [RtfTableCell.RightBorder](/api/rtf/officeimo-rtf-rtftablecell/#property-rightborder)
- Property [RtfTableCell.TopBorder](/api/rtf/officeimo-rtf-rtftablecell/#property-topborder)
- Property [RtfTableCell.TopLeftToBottomRightBorder](/api/rtf/officeimo-rtf-rtftablecell/#property-toplefttobottomrightborder)
- Property [RtfTableCell.TopRightToBottomLeftBorder](/api/rtf/officeimo-rtf-rtftablecell/#property-toprighttobottomleftborder)

Filter members 

Show inherited

## Constructors

`public RtfTableCellBorder()` [#](#constructor-ctor)

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

## Properties

`public RtfTableCellBorderStyle Style { get; set; }` [#](#property-style)

[RtfTableCellBorder.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfTableCellBorder.cs#L8)

Border line style.

`public int? Width { get; set; }` [#](#property-width)

[RtfTableCellBorder.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfTableCellBorder.cs#L11)

Border width value carried by the RTF \brdrw control.

`public int? ColorIndex { get; set; }` [#](#property-colorindex)

[RtfTableCellBorder.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfTableCellBorder.cs#L14)

One-based color table index.

`public bool HasAnyValue { get; }` [#](#property-hasanyvalue)

[RtfTableCellBorder.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfTableCellBorder.cs#L18)

Whether any border formatting is present.

<!-- PowerForge markdown artifact sha256:979E48C18B04388C91AC9902405858327D8936A1950CC309A0DB641F64F07E5E -->
