ActionCollection

ActionCollection

Overview

ActionCollection is a class in Aspose.PDF FOSS for .NET. Inherits from: IEnumerable<PdfAction>.

Collection of actions associated with an annotation.

This class provides 8 methods for working with ActionCollection objects in .NET programs. Available methods include: Add, Clear, Contains, CopyTo, Delete, GetEnumerator, Remove. All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: Count, IsReadOnly, IsSynchronized, SyncRoot.

Properties

NameTypeAccessDescription
CountintReadNumber of actions in the collection.
IsReadOnlyboolReadGets the is read only.
IsSynchronizedboolReadGets the is synchronized.
SyncRootobjectReadGets the sync root.

Methods

SignatureDescription
Delete(index: int)Delete an action at the specified 1-based index (matching .NET Aspose.PDF API).
Delete()Drop every action (clears /A entirely).
Add(action: PdfAction)Add an action to the collection.
Contains(item: PdfAction)Calls Contains on this ActionCollection instance.
CopyTo(array: PdfAction[], index: int)Calls CopyTo on this ActionCollection instance.
Remove(item: PdfAction)Calls Remove on this ActionCollection instance.
Clear()Calls Clear on this ActionCollection instance.
GetEnumerator()Calls GetEnumerator on this ActionCollection instance.

See Also