ActionCollection

ActionCollection

概述

ActionCollection 是 Aspose.PDF FOSS 中用于 .NET 的类。继承自:IEnumerable<PdfAction>。

与注释关联的操作集合。

此类提供 8 个方法,用于在 .NET 程序中处理 ActionCollection 对象。可用的方法包括:Add、Clear、Contains、CopyTo、Delete、GetEnumerator、Remove。在安装了 Aspose.PDF FOSS for .NET 包后,所有公共成员对任何 .NET 应用程序均可访问。属性:Count、IsReadOnly、IsSynchronized、SyncRoot。

属性

名称类型访问描述
Countint读取集合中的操作数量。
IsReadOnlybool读取获取是否只读。
IsSynchronizedbool读取获取是否同步。
SyncRootobject读取获取同步根。

方法

签名描述
Delete(index: int)删除指定的基于 1 的索引处的操作(匹配公共 API)。
Delete()删除所有操作(完全清除 /A)。
Add(action: PdfAction)向集合中添加一个操作。
Contains(item: PdfAction)在此 ActionCollection 实例上调用 Contains(item)。
CopyTo(array: PdfAction[], index: int)在此 ActionCollection 实例上调用 CopyTo(array, index)。
Remove(item: PdfAction)在此 ActionCollection 实例上调用 Remove(item)。
Clear()对该 ActionCollection 实例调用 Clear。
GetEnumerator()对该 ActionCollection 实例调用 GetEnumerator。

另请参阅

 中文