ExportAnnotationsXfdf

ExportAnnotationsXfdf(Stream, int, int, string[])

تصدير محتوى أنواع التعليقات التوضيحية المحددة إلى XFDF

public void ExportAnnotationsXfdf(Stream xmlOutputStream, int start, int end, string[] annotTypes)
معامليكتبوصف
xmlOutputStreamStreamتيار XFDF الناتج.
startInt32صفحة البداية التي سيتم منها تصدير التعليقات التوضيحية للمستند.
endInt32صفحة النهاية التي سيتم تصدير التعليقات التوضيحية للمستند إليها.
annotTypesString[]يجب تصدير مصفوفة أنواع التعليقات التوضيحية.

أمثلة

PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
string[] annotTypes = new string[] {"Text", "Highlight"};
using (Stream stream = File.Create("example.xfdf"))
{
    editor.ExportAnnotationsXfdf(stream, 1, 2, annotTypes);
}

أنظر أيضا


ExportAnnotationsXfdf(Stream, int, int, AnnotationType[])

تصدير محتوى أنواع التعليقات التوضيحية المحددة إلى XFDF

public void ExportAnnotationsXfdf(Stream xmlOutputStream, int start, int end, 
    AnnotationType[] annotTypes)
معامليكتبوصف
xmlOutputStreamStreamتيار XFDF الناتج.
startInt32صفحة البداية التي سيتم منها تصدير التعليقات التوضيحية للمستند.
endInt32صفحة النهاية التي سيتم تصدير التعليقات التوضيحية للمستند إليها.
annotTypesAnnotationType[]يجب تصدير مصفوفة أنواع التعليقات التوضيحية.

أمثلة

PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
AnnotationType[] annotTypes = new AnnotationType[] {AnnotationType.Text, AnnotationType.Highlight};
using (Stream stream = File.Create("example.xfdf"))
{
    editor.ExportAnnotationsXfdf(stream, 1, 2, annotTypes);
}

أنظر أيضا