NamedDestinationCollection
概述
NamedDestinationCollection 是一个类在Aspose.PDF FOSS的.NET中. 继承人: IEnumerable<NamedDestination>.
文件中命名目的地的集合.
本类提供了在NET程序中与NamedDestinationCollection对象工作的5种方法. 有的方法包括: Add, At, FindByName, GetEnumerator, Remove. 所有公众成员在安装了Aspose.PDF FOSS for .NET 包后,可以访问任何.NET应用程序. 特性: All, Count, Names.
属性
| 名称: | 类型 | Access | 描述情况 |
|---|---|---|---|
Count | int | 阅读 | 命名目的地数量. |
All | NamedDestination[] | 阅读 | 所有目的地作为一个数组. |
Names | string[] | 阅读 | 所有目的地名称 (目录+用户添加). |
方法
| Signature | 描述情况 |
|---|---|
At(index: int) | 通过基于 1 的索引获取目的地。. |
Add(name: string, appointment: Aspose.Pdf.Annotations.IAppointment) | 在名称下添加目的地. |
Remove(name: string) | 删除用户添加的目的地名. |
FindByName(name: string) | 找出目的地的名字. |
GetEnumerator() | 在这个 NamedDestinationCollection 实例中调用GetEnumerator. |