Show / Hide Table of Contents

# Class TableRow

A class representing a table row, which can be used during document creation

##### Inheritance

object
ContentElement
ContentNode
TableRow

##### Implements

IDisposable

##### Inherited Members

ContentNode.GetContentNodeIterator()
ContentElement.GetTextStyledElement()
ContentElement.AsContentNode()
ContentElement.AsTextRun()
ContentElement.AsParagraph()
ContentElement.AsTableCell()
ContentElement.AsTableRow()
ContentElement.AsTable()
ContentElement.AsList()
ContentElement.AsListItem()
ContentElement.Dispose()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

###### Namespace: pdftron.Layout

###### Assembly: PDFNet.dll

##### Syntax

    public class TableRow : ContentNode, IDisposable

### Methods

#### AddTableCell()

Add a new cell to the row

##### Declaration

    public TableCell AddTableCell()

##### Returns

Type | Description
--- | ---
TableCell | The newly created cell

#### Dispose(bool)

##### Declaration

    [HandleProcessCorruptedStateExceptions]
    protected override void Dispose(bool A_0)

##### Parameters

Type | Name | Description
--- | --- | ---
bool | A_0 |

##### Overrides

ContentNode.Dispose(bool)

#### ~TableRow()

##### Declaration

    protected ~TableRow()

#### GetNumColumns()

Get number of columns in the row Because of cell merging different rows may have different numbers of columns.

##### Declaration

    public uint GetNumColumns()

##### Returns

Type | Description
--- | ---
uint | number of columns in the row

#### SetRowHeight(double)

Set the height of the row

##### Declaration

    public void SetRowHeight(double val)

##### Parameters

Type | Name | Description
--- | --- | ---
double | val | the height of the row

### Implements

IDisposable