ExtractAnnotations
内容
[
隐藏
]ExtractAnnotations(int, int, string[])
获取指定类型的注解列表。
public IList<Annotation> ExtractAnnotations(int start, int end, string[] annotTypes)
范围 | 类型 | 描述 |
---|---|---|
start | Int32 | 从中选择注释的起始页。 |
end | Int32 | 将选择注释的结束页面。 |
annotTypes | String[] | 所需注释类型的数组。 |
返回值
注释列表。
例子
PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
string[] annotTypes = new string[] {"Text", "Highlight"};
IList annotList = editor.ExtractAnnotations(1, 2 , annotTypes);
也可以看看
- class Annotation
- class PdfAnnotationEditor
- 命名空间 Aspose.Pdf.Facades
- 部件 Aspose.PDF
ExtractAnnotations(int, int, AnnotationType[])
获取指定类型的注解列表。
public IList<Annotation> ExtractAnnotations(int start, int end, AnnotationType[] annotTypes)
范围 | 类型 | 描述 |
---|---|---|
start | Int32 | 从中选择注释的起始页。 |
end | Int32 | 将选择注释的结束页面。 |
annotTypes | AnnotationType[] | 所需注释类型的数组。 |
返回值
注释列表。
例子
PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
AnnotationType[] annotTypes = new AnnotationType[] {AnnotationType.Text, AnnotationType.Highlight};
IList annotList = editor.ExtractAnnotations(1, 2 , annotTypes);
也可以看看
- class Annotation
- enum AnnotationType
- class PdfAnnotationEditor
- 命名空间 Aspose.Pdf.Facades
- 部件 Aspose.PDF