PdfAnnotationEditor

PdfAnnotationEditor

ภาพรวม

PdfAnnotationEditor เป็นคลาสใน Aspose.PDF FOSS สำหรับ C++.

PdfAnnotationEditor สามารถนำเข้าการอธิบายจากไฟล์ FDF หรือ XFDF และทำให้แบนลงเป็นเนื้อหาของหน้าโดยลบองค์ประกอบเชิงโต้ตอบออก.

คลาสนี้มีเมธอด 15 รายการสำหรับทำงานกับวัตถุ PdfAnnotationEditor ในโปรแกรม C++ มีเมธอดที่ใช้ได้ ได้แก่: DeleteAnnotation, DeleteAnnotations, FlatteningAnnotations, ImportAnnotationFromXfdf, ImportAnnotations, ImportAnnotationsFromFdf, ImportAnnotationsFromXfdf, ModifyAnnotations, ModifyAnnotationsAuthor, PdfAnnotationEditor. สมาชิกสาธารณะทั้งหมดสามารถเข้าถึงได้จากแอปพลิเคชัน C++ ใดก็ได้หลังจากติดตั้งแพคเกจ Aspose.PDF FOSS สำหรับ C++.

วิธีการ

ลายเซ็นคำอธิบาย
PdfAnnotationEditor()เรียก PdfAnnotationEditor บนอินสแตนซ์ PdfAnnotationEditor นี้.
ImportAnnotationsFromXfdf(xfdfFile: std::string)โหลดคำอธิบายประกอบจากไฟล์ XFDF ลงในเอกสาร
ImportAnnotationsFromFdf(fdfFile: std::string)เรียก ImportAnnotationsFromFdf(fdfFile) บนอินสแตนซ์ PdfAnnotationEditor นี้.
ImportAnnotationFromXfdf(xfdfFile: std::string)เรียก ImportAnnotationFromXfdf(xfdfFile) บนอินสแตนซ์ PdfAnnotationEditor นี้.
ImportAnnotationFromXfdf(xfdfFile: std::string, annotType: std::vector<Aspose::Pdf::Annotations::AnnotationType>)เรียก ImportAnnotationFromXfdf(xfdfFile, annotType) บนอินสแตนซ์ PdfAnnotationEditor นี้.
ImportAnnotations(annotFile: std::vector<std::string>, annotType: std::vector<Aspose::Pdf::Annotations::AnnotationType>)เรียก ImportAnnotations(annotFile, annotType) บนอินสแตนซ์ PdfAnnotationEditor นี้.
ImportAnnotations(annotFile: std::vector<std::string>)เรียก ImportAnnotations(annotFile) บนอินสแตนซ์ PdfAnnotationEditor นี้.
ModifyAnnotations(start: int, end: int, annotation: Aspose::Pdf::Annotations::Annotation)เรียก ModifyAnnotations(start, end, annotation) บนอินสแตนซ์ PdfAnnotationEditor นี้.
ModifyAnnotationsAuthor(start: int, end: int, srcAuthor: std::string, desAuthor: std::string)เรียก ModifyAnnotationsAuthor(start, end, srcAuthor, desAuthor) บนอินสแตนซ์ PdfAnnotationEditor นี้.
FlatteningAnnotations()แปลงหมายเหตุที่นำเข้าทั้งหมดเป็นกราฟิกหน้าแบบคงที่
FlatteningAnnotations(flattenSettings: Aspose::Pdf::Forms::Form::FlattenSettings)เรียก FlatteningAnnotations(flattenSettings) บนอินสแตนซ์ PdfAnnotationEditor นี้.
FlatteningAnnotations(start: int, end: int, annotType: std::vector<Aspose::Pdf::Annotations::AnnotationType>)เรียก FlatteningAnnotations(start, end, annotType) บบนอินสแตนซ์ PdfAnnotationEditor นี้.
DeleteAnnotations()เรียก DeleteAnnotations บนอินสแตนซ์ PdfAnnotationEditor นี้.
DeleteAnnotations(annotType: std::string)เรียก DeleteAnnotations(annotType) บนอินสแตนซ์ PdfAnnotationEditor นี้.
DeleteAnnotation(annotName: std::string)เรียก DeleteAnnotation(annotName) บนอินสแตนซ์ PdfAnnotationEditor นี้.

ดูเพิ่มเติม

 ภาษาไทย