# RtfTable

RTF table block composed of rows and cells.

Class 

`OfficeIMO.Rtf`

**Namespace**

`OfficeIMO.Rtf`

**Assembly**

`OfficeIMO.Rtf`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[RtfTable.cs:7](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfTable.cs#L7)

**Implements**

`IRtfCloneable` `IRtfBlock`

**Modifiers**

sealed

RTF table block composed of rows and cells.

## Inheritance

- object
- RtfTable

## Usage

Explore 4 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 4

- Method [RtfDocument.AddTable](/api/rtf/officeimo-rtf-rtfdocument/#method-addtable-int32-int32)
- Method [RtfDocument.InsertTable](/api/rtf/officeimo-rtf-rtfdocument/#method-inserttable-int32-int32-int32)
- Method [RtfSection.AddTable](/api/rtf/officeimo-rtf-rtfsection/#method-addtable-int32-int32)
- Method [RtfTableCell.AddTable](/api/rtf/officeimo-rtf-rtftablecell/#method-addtable-int32-int32)

Filter members 

Show inherited

## Constructors

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

[RtfTable.cs:7](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfTable.cs#L7)

## Methods

`public RtfTableRow AddRow()` [#](#method-addrow)

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

Adds a row to the table.

Returns

`RtfTableRow`

## 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 IReadOnlyList<RtfTableRow> Rows { get; }` [#](#property-rows)

[RtfTable.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfTable.cs#L10)

Table rows.

<!-- PowerForge markdown artifact sha256:CC4FA9845F731F66B51A39655FCD161569F9A54273F13E9E71705FDB55A81949 -->
