ImportAnnotationFromXfdf
İçindekiler
[
Saklamak
]ImportAnnotationFromXfdf(string, AnnotationType[])
Belirtilen ek açıklamaları XFDF dosyasından içe aktarır.
public void ImportAnnotationFromXfdf(string xfdfFile, AnnotationType[] annotType)
Parametre | Tip | Tanım |
---|---|---|
xfdfFile | String | Giriş XFDF dosyası. |
annotType | AnnotationType[] | İçe aktarılacak ek açıklamalar dizisi. |
Örnekler
PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
AnnotationType[] annotTypes = {AnnotationType.Highlight, AnnotationType.Text};
editor.ImportAnnotationFromXfdf("annots.xfdf", annotTypes);
editor.Save("example_out.pdf");
Ayrıca bakınız
- enum AnnotationType
- class PdfAnnotationEditor
- ad alanı Aspose.Pdf.Facades
- toplantı Aspose.PDF
ImportAnnotationFromXfdf(Stream, AnnotationType[])
Belirtilen ek açıklamaları XFDF veri akışından içe aktarır.
public void ImportAnnotationFromXfdf(Stream xfdfStream, AnnotationType[] annotType)
Parametre | Tip | Tanım |
---|---|---|
xfdfStream | Stream | Giriş XFDF veri akışı. |
annotType | AnnotationType[] | İçe aktarılacak ek açıklama türleri dizisi. |
Örnekler
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");
Ayrıca bakınız
- enum AnnotationType
- class PdfAnnotationEditor
- ad alanı Aspose.Pdf.Facades
- toplantı Aspose.PDF