ImportAnnotationsFromXfdf

ImportAnnotationsFromXfdf(string)

Importerar alla kommentarer från XFDF-fil.

public void ImportAnnotationsFromXfdf(string xfdfFile)
ParameterTypBeskrivning
xfdfFileStringIndata XFDF-filen.

Exempel

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

Se även


ImportAnnotationsFromXfdf(Stream)

Importerar alla kommentarer från XFDF-dataström.

public void ImportAnnotationsFromXfdf(Stream xfdfStream)
ParameterTypBeskrivning
xfdfStreamStreamDen ingående XFDF-dataströmmen.

Exempel

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

Se även