ImportAnnotationsFromXfdf

ImportAnnotationsFromXfdf(string)

Imports all annotations from XFDF file.

public void ImportAnnotationsFromXfdf(string xfdfFile)
Parameter Type Description
xfdfFile String The input XFDF file.

Examples

PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
editor.ImportAnnotationsFromXfdf("annots.xfdf");
editor.Save("example_out.pdf");

See Also


ImportAnnotationsFromXfdf(Stream)

Imports all annotations from XFDF data stream.

public void ImportAnnotationsFromXfdf(Stream xfdfStream)
Parameter Type Description
xfdfStream Stream The input XFDF data stream.

Examples

PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
editor.ImportAnnotationsFromXfdf(File.OpenRead("annots.xfdf"));
editor.Save("example_out.pdf");

See Also