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