ImportAnnotations
İçindekiler
[
Saklamak
]ImportAnnotations(string[], AnnotationType[])
Belirtilen ek açıklamaları başka bir PDF belgesi dizisinden belgeye aktarır.
public void ImportAnnotations(string[] annotFile, AnnotationType[] annotType)
Parametre | Tip | Tanım |
---|---|---|
annotFile | String[] | Kaynak açıklamaları içeren PDF belgelerinin yol dizisi. |
annotType | AnnotationType[] | İçe aktarılacak ek açıklama türleri dizisi. |
Örnekler
PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
string[] paths = new string[2] {"with_annots1.pdf", "with_annots2.pdf"};
AnnotationType[] annotTypes = {AnnotationType.Highlight, AnnotationType.Text};
editor.ImportAnnotations(paths, annotTypes);
editor.Save("example_out.pdf");
Ayrıca bakınız
- enum AnnotationType
- class PdfAnnotationEditor
- ad alanı Aspose.Pdf.Facades
- toplantı Aspose.PDF
ImportAnnotations(string[])
Ek açıklamaları başka bir PDF belgesi dizisinden belgeye aktarır.
public void ImportAnnotations(string[] annotFile)
Parametre | Tip | Tanım |
---|---|---|
annotFile | String[] | Kaynak açıklamaları içeren PDF belgelerinin yol dizisi. |
Örnekler
PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
string[] paths = new string[2] {"with_annots1.pdf", "with_annots2.pdf"};
editor.ImportAnnotations(paths);
editor.Save("example_out.pdf");
Ayrıca bakınız
- class PdfAnnotationEditor
- ad alanı Aspose.Pdf.Facades
- toplantı Aspose.PDF
ImportAnnotations(Stream[], AnnotationType[])
Belirtilen ek açıklamaları başka bir PDF belge akışı dizisinden belgeye aktarır.
public void ImportAnnotations(Stream[] annotFileStream, AnnotationType[] annotType)
Parametre | Tip | Tanım |
---|---|---|
annotFileStream | Stream[] | Kaynak açıklamaları içeren PDF belgelerinin akış dizisi. |
annotType | AnnotationType[] | İçe aktarılacak ek açıklama türleri. |
Örnekler
PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
Stream[] streams = new FileStream[2];
stream[0]= File.OpenRead("with_annots1.pdf");
stream[1]= File.OpenRead("with_annots2.pdf");
AnnotationType[] annotTypes = {AnnotationType.Highlight, AnnotationType.Text};
editor.ImportAnnotations(streams, annotTypes);
editor.Save("example_out.pdf");
stream[0].Close();
stream[1].Close();
Ayrıca bakınız
- enum AnnotationType
- class PdfAnnotationEditor
- ad alanı Aspose.Pdf.Facades
- toplantı Aspose.PDF
ImportAnnotations(Stream[])
Ek açıklamaları başka bir PDF belge akışı dizisinden belgeye aktarır.
public void ImportAnnotations(Stream[] annotFileStream)
Parametre | Tip | Tanım |
---|---|---|
annotFileStream | Stream[] | Kaynak açıklamaları içeren PDF belgelerinin akış dizisi. |
Örnekler
PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
Stream[] streams = new FileStream[2];
streams[0]= File.OpenRead("with_annots1.pdf");
streams[1]= File.OpenRead("with_annots2.pdf");
editor.ImportAnnotations(streams);
editor.Save("example_out.pdf");
streams[0].Close();
streams[1].Close();
Ayrıca bakınız
- class PdfAnnotationEditor
- ad alanı Aspose.Pdf.Facades
- toplantı Aspose.PDF