ImportAnnotations
محتويات
[
يخفي
]ImportAnnotations(string[], AnnotationType[])
يستورد التعليقات التوضيحية المحددة في المستند من مصفوفة مستندات PDF أخرى.
public void ImportAnnotations(string[] annotFile, AnnotationType[] annotType)
معامل | يكتب | وصف |
---|---|---|
annotFile | String[] | مصفوفة مسارات مستندات PDF التي تحتوي على تعليقات توضيحية المصدر. |
annotType | AnnotationType[] | مصفوفة أنواع التعليقات التوضيحية التي سيتم استيرادها. |
أمثلة
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");
أنظر أيضا
- enum AnnotationType
- class PdfAnnotationEditor
- مساحة الاسم Aspose.Pdf.Facades
- المجسم Aspose.PDF
ImportAnnotations(string[])
يستورد التعليقات التوضيحية في مستند من مصفوفة مستندات PDF أخرى.
public void ImportAnnotations(string[] annotFile)
معامل | يكتب | وصف |
---|---|---|
annotFile | String[] | مصفوفة مسارات مستندات 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");
أنظر أيضا
- class PdfAnnotationEditor
- مساحة الاسم Aspose.Pdf.Facades
- المجسم Aspose.PDF
ImportAnnotations(Stream[], AnnotationType[])
يستورد التعليقات التوضيحية المحددة في المستند من مصفوفة تدفق مستند PDF آخر.
public void ImportAnnotations(Stream[] annotFileStream, AnnotationType[] annotType)
معامل | يكتب | وصف |
---|---|---|
annotFileStream | Stream[] | مصفوفة تدفقات مستندات PDF التي تحتوي على التعليقات التوضيحية للمصدر. |
annotType | AnnotationType[] | أنواع التعليقات التوضيحية التي سيتم استيرادها. |
أمثلة
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();
أنظر أيضا
- enum AnnotationType
- class PdfAnnotationEditor
- مساحة الاسم Aspose.Pdf.Facades
- المجسم Aspose.PDF
ImportAnnotations(Stream[])
يقوم باستيراد التعليقات التوضيحية في المستند من مصفوفة تدفق مستند PDF آخر.
public void ImportAnnotations(Stream[] annotFileStream)
معامل | يكتب | وصف |
---|---|---|
annotFileStream | Stream[] | مصفوفة تدفقات مستندات 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();
أنظر أيضا
- class PdfAnnotationEditor
- مساحة الاسم Aspose.Pdf.Facades
- المجسم Aspose.PDF