PdfAnnotationEditor.ExtractAnnotations
محتويات
[
يخفي
]ExtractAnnotations(int, int, string[])
تحصل على قائمة بالتعليقات التوضيحية من الأنواع المحددة.
public IList<Annotation> ExtractAnnotations(int start, int end, string[] annotTypes)
| Parameter | Type | Description |
|---|---|---|
| start | Int32 | الصفحة التي ستبدأ منها اختيار التعليقات التوضيحية. |
| end | Int32 | الصفحة التي ستنتهي عندها اختيار التعليقات التوضيحية. |
| annotTypes | String[] | مصفوفة بأنواع التعليقات التوضيحية المطلوبة. |
Return Value
قائمة التعليقات التوضيحية.
Examples
PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
string[] annotTypes = new string[] {"Text", "Highlight"};
IList annotList = editor.ExtractAnnotations(1, 2 , annotTypes);
See Also
- class Annotation
- class PdfAnnotationEditor
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF
ExtractAnnotations(int, int, AnnotationType[])
تحصل على قائمة بالتعليقات التوضيحية من الأنواع المحددة.
public IList<Annotation> ExtractAnnotations(int start, int end, AnnotationType[] annotTypes)
| Parameter | Type | Description |
|---|---|---|
| start | Int32 | الصفحة التي ستبدأ منها اختيار التعليقات التوضيحية. |
| end | Int32 | الصفحة التي ستنتهي عندها اختيار التعليقات التوضيحية. |
| annotTypes | AnnotationType[] | مصفوفة بأنواع التعليقات التوضيحية المطلوبة. |
Return Value
قائمة التعليقات التوضيحية.
Examples
PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
AnnotationType[] annotTypes = new AnnotationType[] {AnnotationType.Text, AnnotationType.Highlight};
IList annotList = editor.ExtractAnnotations(1, 2 , annotTypes);
See Also
- class Annotation
- enum AnnotationType
- class PdfAnnotationEditor
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF