PdfAnnotationEditor.ExtractAnnotations

ExtractAnnotations(int, int, string[])

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

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

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


ExtractAnnotations(int, int, AnnotationType[])

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

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

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