AnnotationCollection
AnnotationCollection
概述
AnnotationCollection 是 Aspose.PDF 中的类型.
AnnotationCollection 是一个单一页面附加的活跃,有序的注释集.
这个类型提供了7种方法,用于在Go程序中与AnnotationCollection对象工作. 有的方法包括: Add, All, At, Count, Delete, DeleteAt, Flatten. 在安装了Aspose.PDF FOSS for Go 包后,所有公众成员都可以访问任何Go应用程序.
方法
| Signature | 描述情况 |
|---|---|
Count() → int | 计算该页面上有多少注释. |
All() → []Annotation | 所有返回页面注释作为片段. |
Add(a: Annotation) → error | 添加将注释附上本页面. |
At(index: int) → Annotation | 在返回给定索引的注释. |
Delete(a: Annotation) → bool | 删除将从本页面中移除注释. |
DeleteAt(index: int) → error | DeleteAt 删除给定索引的注释. |
Flatten() → error | 平将页面上的每一个注释都编入到页内容中,然后删除. |