
**Inheritance:**
java.lang.Object
```
public class OCRTableRow
```

Represents a single row within a recognized table.

A row contains a collection of [OCRTableCell](../../com.aspose.ocr.models/ocrtablecell/) instances, each representing one table column.
## Constructors

| Constructor | Description |
| --- | --- |
| [OCRTableRow()](#OCRTableRow) |  |
## Methods

| Method | Description |
| --- | --- |
| [getCells()](#getCells) |  |
| [getRowIndex()](#getRowIndex) |  |
| [setCells(List<OCRTableCell> cells)](#setCells-java.util.List-com.aspose.ocr.models.OCRTableCell) |  |
| [setRowIndex(int rowIndex)](#setRowIndex-int) |  |
### OCRTableRow() {#OCRTableRow}
```
public OCRTableRow()
```
### getCells() {#getCells}
```
public List<OCRTableCell> getCells()
```

**Returns:**
java.util.List<com.aspose.ocr.models.OCRTableCell>

### getRowIndex() {#getRowIndex}
```
public int getRowIndex()
```

**Returns:**
int

### setCells(List<OCRTableCell> cells) {#setCells-java.util.List-com.aspose.ocr.models.OCRTableCell}
```
public void setCells(List<OCRTableCell> cells)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| cells | java.util.List<com.aspose.ocr.models.OCRTableCell> |  |

### setRowIndex(int rowIndex) {#setRowIndex-int}
```
public void setRowIndex(int rowIndex)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| rowIndex | int |  |