ImportAnnotationFromXfdf
محتويات
[
يخفي
]ImportAnnotationFromXfdf(string, AnnotationType[])
يستورد التعليقات التوضيحية المحددة من ملف XFDF .
public void ImportAnnotationFromXfdf(string xfdfFile, AnnotationType[] annotType)
معامل | يكتب | وصف |
---|---|---|
xfdfFile | String | ملف الإدخال XFDF. |
annotType | AnnotationType[] | مصفوفة التعليقات التوضيحية التي سيتم استيرادها. |
أمثلة
PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
AnnotationType[] annotTypes = {AnnotationType.Highlight, AnnotationType.Text};
editor.ImportAnnotationFromXfdf("annots.xfdf", annotTypes);
editor.Save("example_out.pdf");
أنظر أيضا
- enum AnnotationType
- class PdfAnnotationEditor
- مساحة الاسم Aspose.Pdf.Facades
- المجسم Aspose.PDF
ImportAnnotationFromXfdf(Stream, AnnotationType[])
يستورد التعليقات التوضيحية المحددة من تدفق بيانات XFDF .
public void ImportAnnotationFromXfdf(Stream xfdfStream, AnnotationType[] annotType)
معامل | يكتب | وصف |
---|---|---|
xfdfStream | Stream | دفق بيانات الإدخال XFDF. |
annotType | AnnotationType[] | مصفوفة أنواع التعليقات التوضيحية التي سيتم استيرادها. |
أمثلة
PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
AnnotationType[] annotTypes ={ AnnotationType.Highlight, AnnotationType.Line };
editor.ImportAnnotationFromXfdf(File.OpenRead("annots.xfdf"), annotTypes);
editor.Save("example_out.pdf");
أنظر أيضا
- enum AnnotationType
- class PdfAnnotationEditor
- مساحة الاسم Aspose.Pdf.Facades
- المجسم Aspose.PDF