PdfAnnotationEditor.ImportAnnotationFromXfdf
محتويات
[
يخفي
]ImportAnnotationFromXfdf(string, AnnotationType[])
تستورد التعليقات التوضيحية المحددة من ملف XFDF.
public void ImportAnnotationFromXfdf(string xfdfFile, AnnotationType[] annotType)
| Parameter | Type | Description |
|---|---|---|
| xfdfFile | String | ملف XFDF المدخل. |
| annotType | AnnotationType[] | مصفوفة التعليقات التوضيحية التي سيتم استيرادها. |
Examples
PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
AnnotationType[] annotTypes = {AnnotationType.Highlight, AnnotationType.Text};
editor.ImportAnnotationFromXfdf("annots.xfdf", annotTypes);
editor.Save("example_out.pdf");
See Also
- enum AnnotationType
- class PdfAnnotationEditor
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF
ImportAnnotationFromXfdf(Stream, AnnotationType[])
تستورد التعليقات التوضيحية المحددة من تدفق بيانات XFDF.
public void ImportAnnotationFromXfdf(Stream xfdfStream, AnnotationType[] annotType)
| Parameter | Type | Description |
|---|---|---|
| xfdfStream | Stream | تدفق بيانات XFDF المدخل. |
| annotType | AnnotationType[] | مصفوفة أنواع التعليقات التوضيحية التي سيتم استيرادها. |
Examples
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");
See Also
- enum AnnotationType
- class PdfAnnotationEditor
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF