AnnotationCollection
AnnotationCollection class
表示注释集合的类。
public sealed class AnnotationCollection : ICollection<Annotation>
特性
姓名 | 描述 |
---|---|
Count { get; } | 获取集合中的注释计数。 |
IsReadOnly { get; } | 获取一个值,该值指示集合是否为只读。 |
IsSynchronized { get; } | 获取一个值,该值指示对 Aspose.Pdf.Annotations.AnnotationCollection 的访问是否同步(线程安全)。 |
Item { get; } | 要获取的元素的索引。 |
SyncRoot { get; } | 获取可用于同步访问 Aspose.Pdf.Annotations.AnnotationCollection. 的对象 |
方法
姓名 | 描述 |
---|---|
Accept(AnnotationSelector) | 接受访问者处理注释。 |
Add(Annotation) | 向集合添加注释。 |
Add(Annotation, bool) | 向集合添加注释。如果页面被旋转,那么注释矩形将相应地重新计算。 |
Clear() | 从集合中删除所有注释。 |
Contains(Annotation) | 检查指定的注解是否属于集合。 |
CopyTo(Annotation[], int) | 将注释数组复制到集合中。 |
Delete() | 从集合中删除所有注释。 |
Delete(Annotation) | 从集合中删除指定的注释。 |
Delete(int) | 按索引从集合中删除注释。 |
FindByName(string) | 按名称返回注解。 |
GetEnumerator() | 返回集合枚举器。 |
Remove(Annotation) | 从集合中删除指定的注释。 |
也可以看看
- class Annotation
- 命名空间 Aspose.Pdf.Annotations
- 部件 Aspose.PDF