Class TableRow
Represents a table row
Contains a collection of cells that make up a row in a table.
Inheritance
System.Object
TableRow
Namespace: IronPdf.Extractions
Assembly: IronPdf.dll
Syntax
public class TableRow : Object
Constructors
TableRow()
Declaration
public TableRow()
Properties
CellCount
Gets the number of cells in the row
Declaration
public int CellCount { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Cells
List of cells in the row
Declaration
public List<TableCell> Cells { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<TableCell> |
Height
Height of the row in points
Declaration
public double Height { get; }
Property Value
| Type | Description |
|---|---|
| System.Double |
Item[Int32]
Gets a cell by column index
Declaration
public TableCell this[int columnIndex] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | columnIndex | Column index (0-based) |
Property Value
| Type | Description |
|---|---|
| TableCell | TableCell at the specified column |
RowIndex
Index of the row within the table (0-based)
Declaration
public int RowIndex { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Methods
GetCellText(Int32)
Gets the text content of a cell by column index
Declaration
public string GetCellText(int columnIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | columnIndex | Column index (0-based) |
Returns
| Type | Description |
|---|---|
| System.String | Text content of the cell at the specified column |