ImportAnnotationFromXfdf
Inhalt
[
Ausblenden
]ImportAnnotationFromXfdf(string, AnnotationType[])
Importiert die angegebenen Anmerkungen aus der XFDF-Datei.
public void ImportAnnotationFromXfdf(string xfdfFile, AnnotationType[] annotType)
Parameter | Typ | Beschreibung |
---|---|---|
xfdfFile | String | Die XFDF-Eingabedatei. |
annotType | AnnotationType[] | Das zu importierende Anmerkungsarray. |
Beispiele
PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
AnnotationType[] annotTypes = {AnnotationType.Highlight, AnnotationType.Text};
editor.ImportAnnotationFromXfdf("annots.xfdf", annotTypes);
editor.Save("example_out.pdf");
Siehe auch
- enum AnnotationType
- class PdfAnnotationEditor
- namensraum Aspose.Pdf.Facades
- Montage Aspose.PDF
ImportAnnotationFromXfdf(Stream, AnnotationType[])
Importiert die angegebenen Anmerkungen aus dem XFDF-Datenstrom.
public void ImportAnnotationFromXfdf(Stream xfdfStream, AnnotationType[] annotType)
Parameter | Typ | Beschreibung |
---|---|---|
xfdfStream | Stream | Der Eingabe-XFDF-Datenstrom. |
annotType | AnnotationType[] | Das Array der zu importierenden Anmerkungstypen. |
Beispiele
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");
Siehe auch
- enum AnnotationType
- class PdfAnnotationEditor
- namensraum Aspose.Pdf.Facades
- Montage Aspose.PDF