---
Product: Aspose.PDF
Platform: net
Page Type: reference
Canonical URL: https://reference.aspose.org/pdf/net/Rows
---

# Rows

## Overview

`Rows` is a class in Aspose.PDF FOSS for .NET.
Inherits from: `IEnumerable`, `IDisposable`.

A collection of rows in a table.

This class provides 10 methods for working with Rows objects in .NET programs.
Available methods include: `Add`, `At`, `Dispose`, `GetEnumerator`, `IndexOf`, `Remove`, `RemoveAt`, `RemoveRange`, `Rows`.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: `Count`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `Count` | `int` | Read | Number of rows. |

## Methods

| Signature | Description |
|-----------|-------------|
| `Rows()` | Construct a free-standing rows collection (no parent table). |
| `Add()` | Add a new empty row and return it. |
| `Add(row: Row)` | Add an existing row. |
| `At(index: int)` | Get a row by index. |
| `IndexOf(row: Row)` | Index of row in the collection, or -1. |
| `Remove(row: Row)` | Remove the first occurrence of row. |
| `RemoveAt(index: int)` | Remove the row at the given 0-based index. |
| `RemoveRange(index: int, count: int)` | Remove count rows starting at index. |
| `Dispose()` | Releases any resources held by the collection. |
| `GetEnumerator()` | Calls GetEnumerator on this Rows instance. |

## See Also

- [Aspose.PDF for .NET — Enterprise API Reference](https://reference.aspose.com/pdf/net/)