ImportAnnotations

ImportAnnotations(string[], AnnotationType[])

يستورد التعليقات التوضيحية المحددة في المستند من مصفوفة مستندات PDF أخرى.

public void ImportAnnotations(string[] annotFile, AnnotationType[] annotType)
معامليكتبوصف
annotFileString[]مصفوفة مسارات مستندات PDF التي تحتوي على تعليقات توضيحية المصدر.
annotTypeAnnotationType[]مصفوفة أنواع التعليقات التوضيحية التي سيتم استيرادها.

أمثلة

PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
string[] paths = new string[2] {"with_annots1.pdf", "with_annots2.pdf"};
AnnotationType[] annotTypes = {AnnotationType.Highlight, AnnotationType.Text};
editor.ImportAnnotations(paths, annotTypes);
editor.Save("example_out.pdf");

أنظر أيضا


ImportAnnotations(string[])

يستورد التعليقات التوضيحية في مستند من مصفوفة مستندات PDF أخرى.

public void ImportAnnotations(string[] annotFile)
معامليكتبوصف
annotFileString[]مصفوفة مسارات مستندات PDF التي تحتوي على تعليقات توضيحية المصدر.

أمثلة

PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
string[] paths = new string[2] {"with_annots1.pdf", "with_annots2.pdf"};
editor.ImportAnnotations(paths);
editor.Save("example_out.pdf");

أنظر أيضا


ImportAnnotations(Stream[], AnnotationType[])

يستورد التعليقات التوضيحية المحددة في المستند من مصفوفة تدفق مستند PDF آخر.

public void ImportAnnotations(Stream[] annotFileStream, AnnotationType[] annotType)
معامليكتبوصف
annotFileStreamStream[]مصفوفة تدفقات مستندات PDF التي تحتوي على التعليقات التوضيحية للمصدر.
annotTypeAnnotationType[]أنواع التعليقات التوضيحية التي سيتم استيرادها.

أمثلة

PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
Stream[] streams = new FileStream[2];
stream[0]= File.OpenRead("with_annots1.pdf");
stream[1]= File.OpenRead("with_annots2.pdf");
AnnotationType[] annotTypes = {AnnotationType.Highlight, AnnotationType.Text};
editor.ImportAnnotations(streams, annotTypes);
editor.Save("example_out.pdf");
stream[0].Close();
stream[1].Close();

أنظر أيضا


ImportAnnotations(Stream[])

يقوم باستيراد التعليقات التوضيحية في المستند من مصفوفة تدفق مستند PDF آخر.

public void ImportAnnotations(Stream[] annotFileStream)
معامليكتبوصف
annotFileStreamStream[]مصفوفة تدفقات مستندات PDF التي تحتوي على التعليقات التوضيحية للمصدر.

أمثلة

PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
Stream[] streams = new FileStream[2];
streams[0]= File.OpenRead("with_annots1.pdf");
streams[1]= File.OpenRead("with_annots2.pdf");
editor.ImportAnnotations(streams);
editor.Save("example_out.pdf");
streams[0].Close();
streams[1].Close();

أنظر أيضا