PdfAnnotationEditor

PdfAnnotationEditor

Tổng quan

PdfAnnotationEditor là một lớp trong Aspose.PDF FOSS cho C++.

PdfAnnotationEditor có thể nhập chú thích từ các tệp FDF hoặc XFDF và làm phẳng chúng vào nội dung trang, loại bỏ các yếu tố tương tác.

Lớp này cung cấp 15 phương thức để làm việc với các đối tượng PdfAnnotationEditor trong các chương trình C++. Các phương thức có sẵn bao gồm: DeleteAnnotation, DeleteAnnotations, FlatteningAnnotations, ImportAnnotationFromXfdf, ImportAnnotations, ImportAnnotationsFromFdf, ImportAnnotationsFromXfdf, ModifyAnnotations, ModifyAnnotationsAuthor, PdfAnnotationEditor. Tất cả các thành viên công khai đều có thể truy cập bởi bất kỳ ứng dụng C++ nào sau khi cài đặt gói Aspose.PDF FOSS cho C++.

Phương thức

Chữ kýMô tả
PdfAnnotationEditor()Gọi PdfAnnotationEditor trên đối tượng PdfAnnotationEditor này.
ImportAnnotationsFromXfdf(xfdfFile: std::string)Tải chú thích từ tệp XFDF vào tài liệu
ImportAnnotationsFromFdf(fdfFile: std::string)Gọi ImportAnnotationsFromFdf(fdfFile) trên đối tượng PdfAnnotationEditor này.
ImportAnnotationFromXfdf(xfdfFile: std::string)Gọi ImportAnnotationFromXfdf(xfdfFile) trên đối tượng PdfAnnotationEditor này.
ImportAnnotationFromXfdf(xfdfFile: std::string, annotType: std::vector<Aspose::Pdf::Annotations::AnnotationType>)Gọi ImportAnnotationFromXfdf(xfdfFile, annotType) trên đối tượng PdfAnnotationEditor này.
ImportAnnotations(annotFile: std::vector<std::string>, annotType: std::vector<Aspose::Pdf::Annotations::AnnotationType>)Gọi ImportAnnotations(annotFile, annotType) trên đối tượng PdfAnnotationEditor này.
ImportAnnotations(annotFile: std::vector<std::string>)Gọi ImportAnnotations(annotFile) trên đối tượng PdfAnnotationEditor này.
ModifyAnnotations(start: int, end: int, annotation: Aspose::Pdf::Annotations::Annotation)Gọi ModifyAnnotations(start, end, annotation) trên đối tượng PdfAnnotationEditor này.
ModifyAnnotationsAuthor(start: int, end: int, srcAuthor: std::string, desAuthor: std::string)Gọi ModifyAnnotationsAuthor(start, end, srcAuthor, desAuthor) trên đối tượng PdfAnnotationEditor này.
FlatteningAnnotations()Chuyển đổi tất cả các chú thích đã nhập thành đồ họa trang tĩnh
FlatteningAnnotations(flattenSettings: Aspose::Pdf::Forms::Form::FlattenSettings)Gọi FlatteningAnnotations(flattenSettings) trên đối tượng PdfAnnotationEditor này.
FlatteningAnnotations(start: int, end: int, annotType: std::vector<Aspose::Pdf::Annotations::AnnotationType>)Gọi FlatteningAnnotations(start, end, annotType) trên đối tượng PdfAnnotationEditor này.
DeleteAnnotations()Gọi DeleteAnnotations trên đối tượng PdfAnnotationEditor này.
DeleteAnnotations(annotType: std::string)Gọi DeleteAnnotations(annotType) trên đối tượng PdfAnnotationEditor này.
DeleteAnnotation(annotName: std::string)Gọi DeleteAnnotation(annotName) trên đối tượng PdfAnnotationEditor này.

Xem thêm

 Tiếng Việt