ExtractAnnotations

ExtractAnnotations(int, int, string[])

الحصول على قائمة التعليقات التوضيحية للأنواع المحددة.

public IList<Annotation> ExtractAnnotations(int start, int end, string[] annotTypes)
معامليكتبوصف
startInt32صفحة البداية التي سيتم تحديد التعليقات التوضيحية منها.
endInt32صفحة النهاية التي سيتم تحديد التعليقات التوضيحية إليها.
annotTypesString[]مجموعة أنواع التعليقات التوضيحية المطلوبة.

قيمة الإرجاع

قائمة التعليقات التوضيحية.

أمثلة

PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
string[] annotTypes = new string[] {"Text", "Highlight"};
IList annotList = editor.ExtractAnnotations(1, 2 , annotTypes);

أنظر أيضا


ExtractAnnotations(int, int, AnnotationType[])

الحصول على قائمة التعليقات التوضيحية للأنواع المحددة.

public IList<Annotation> ExtractAnnotations(int start, int end, AnnotationType[] annotTypes)
معامليكتبوصف
startInt32صفحة البداية التي سيتم تحديد التعليقات التوضيحية منها.
endInt32صفحة النهاية التي سيتم تحديد التعليقات التوضيحية إليها.
annotTypesAnnotationType[]مجموعة أنواع التعليقات التوضيحية المطلوبة.

قيمة الإرجاع

قائمة التعليقات التوضيحية.

أمثلة

PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
AnnotationType[] annotTypes = new AnnotationType[] {AnnotationType.Text, AnnotationType.Highlight};
IList annotList = editor.ExtractAnnotations(1, 2 , annotTypes);

أنظر أيضا