**Inheritance:**
java.lang.Object, com.aspose.pdf.Rows

**All Implemented Interfaces:**
Iterable < Row >

```
public final class Rows extends Object implements Iterable < Row >
```

Represents a rows collection of table.

## Constructors

| Constructor | Description |
| --- | --- |
| [Rows](#Rows--) |  |

## Methods

| Method | Description |
| --- | --- |
| [add](#add--) | Add row to collection. |
| [add](#add-com.aspose.pdf.Row-) | Add row to collection. |
| [get_Item](#get_Item-int-) | Gets row. |
| [getCount](#getCount--) | The items count. |
| [indexOf](#indexOf-com.aspose.pdf.Row-) | Returns index of row in collection. |
| [iterator_Rename_Namesake](#iterator_Rename_Namesake--) | ReservedForInternalUse <p> For internal usage only. |
| [iterator](#iterator--) | Gets collection's enumerator. |
| [remove](#remove-com.aspose.pdf.Row-) | Remove row from collection. |
| [removeAt](#removeAt-int-) | Remove row at position from collection. |
| [removeRange](#removeRange-int-int-) | Remove row set from collection. |
| [set_Item](#set_Item-int-com.aspose.pdf.Row-) | Sets row. |

### Rows {#Rows--}
```
public Rows()
```



### add {#add--}
```
public Row add()
```

Add row to collection.

**Returns:**
The new row

### add {#add-com.aspose.pdf.Row-}
Add row to collection.

**Returns:**
The new row

### get_Item {#get_Item-int-}
```
public Row get_Item(int index)
```

Gets row.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index |  | The row index. |

**Returns:**
Row object

### getCount {#getCount--}
```
public int getCount()
```

The items count.

**Returns:**
int value

### indexOf {#indexOf-com.aspose.pdf.Row-}
Returns index of row in collection.

### iterator_Rename_Namesake {#iterator_Rename_Namesake--}
```
public com.aspose.ms.System.Collections.IEnumerator iterator_Rename_Namesake()
```

ReservedForInternalUse <p> For internal usage only.

**Returns:**
IEnumerator object

### iterator {#iterator--}
```
public Iterator < Row > iterator()
```

Gets collection's enumerator.

**Returns:**
Iterator of Row instances

### remove {#remove-com.aspose.pdf.Row-}
Remove row from collection.

### removeAt {#removeAt-int-}
```
public void removeAt(int index)
```

Remove row at position from collection.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index |  | The collection index. |

### removeRange {#removeRange-int-int-}
```
public void removeRange(int index, int count)
```

Remove row set from collection.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index |  | The collection index. |
| count |  | The rows count. |

### set_Item {#set_Item-int-com.aspose.pdf.Row-}
Sets row.
