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

# PdfActionCollection

## Overview

`PdfActionCollection` is a class in Aspose.PDF FOSS for .NET.
Inherits from: `IEnumerable`.

Collection of PdfAction entries attached to an annotation (or any other action-bearing PDF object).

This class provides 3 methods for working with PdfActionCollection objects in .NET programs.
Available methods include: `Add`, `Delete`, `GetEnumerator`.
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 actions in the collection. |

## Methods

| Signature | Description |
|-----------|-------------|
| `Add(action: PdfAction)` | Append action to the collection. |
| `Delete(index: int)` | Remove the action at the given 1-based index. |
| `GetEnumerator()` | Calls GetEnumerator on this PdfActionCollection instance. |

## See Also

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