ImportAnnotationFromXfdf
Contenuti
[
Nascondere
]ImportAnnotationFromXfdf(string, AnnotationType[])
Importa le annotazioni specificate dal file XFDF.
public void ImportAnnotationFromXfdf(string xfdfFile, AnnotationType[] annotType)
Parametro | Tipo | Descrizione |
---|---|---|
xfdfFile | String | Il file XFDF di input. |
annotType | AnnotationType[] | La matrice delle annotazioni da importare. |
Esempi
PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
AnnotationType[] annotTypes = {AnnotationType.Highlight, AnnotationType.Text};
editor.ImportAnnotationFromXfdf("annots.xfdf", annotTypes);
editor.Save("example_out.pdf");
Guarda anche
- enum AnnotationType
- class PdfAnnotationEditor
- spazio dei nomi Aspose.Pdf.Facades
- assemblea Aspose.PDF
ImportAnnotationFromXfdf(Stream, AnnotationType[])
Importa le annotazioni specificate dal flusso di dati XFDF.
public void ImportAnnotationFromXfdf(Stream xfdfStream, AnnotationType[] annotType)
Parametro | Tipo | Descrizione |
---|---|---|
xfdfStream | Stream | Il flusso di dati XFDF di input. |
annotType | AnnotationType[] | L’array di tipi di annotazioni da importare. |
Esempi
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");
Guarda anche
- enum AnnotationType
- class PdfAnnotationEditor
- spazio dei nomi Aspose.Pdf.Facades
- assemblea Aspose.PDF