ImportAnnotationsFromXfdf
ImportAnnotationsFromXfdf(string)
从 XFDF 文件中导入所有注释。
public void ImportAnnotationsFromXfdf(string xfdfFile)
范围 | 类型 | 描述 |
---|---|---|
xfdfFile | String | 输入 XFDF 文件。 |
例子
PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
editor.ImportAnnotationsFromXfdf("annots.xfdf");
editor.Save("example_out.pdf");
也可以看看
- class PdfAnnotationEditor
- 命名空间 Aspose.Pdf.Facades
- 部件 Aspose.PDF
ImportAnnotationsFromXfdf(Stream)
从 XFDF 数据流中导入所有注释。
public void ImportAnnotationsFromXfdf(Stream xfdfStream)
范围 | 类型 | 描述 |
---|---|---|
xfdfStream | Stream | 输入 XFDF 数据流。 |
例子
PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
editor.ImportAnnotationsFromXfdf(File.OpenRead("annots.xfdf"));
editor.Save("example_out.pdf");
也可以看看
- class PdfAnnotationEditor
- 命名空间 Aspose.Pdf.Facades
- 部件 Aspose.PDF