PdfExtractor

PdfExtractor

ภาพรวม

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

PdfExtractor ดึงข้อความโดยการเรียก ExtractText() แล้วตามด้วย GetText(outputFile) เพื่อเขียนข้อความที่ดึงได้ลงในไฟล์.

คลาสนี้ให้ 24 เมธอดสำหรับทำงานกับอ็อบเจ็กต์ PdfExtractor ในโปรแกรม C++ มีเมธอดที่ใช้ได้รวมถึง: EndPage, ExtractAttachment, ExtractImage, ExtractText, ExtractTextMode, GetAttachNames, GetAttachment, GetAttachmentInfo, GetNextImage, GetNextPageText, GetText, HasNextImage และเมธอดเพิ่มเติมอีก 6 รายการ สมาชิกสาธารณะทั้งหมดสามารถเข้าถึงได้โดยแอปพลิเคชัน C++ ใด ๆ หลังจากติดตั้งแพ็คเกจ Aspose.PDF FOSS สำหรับ C++.

วิธีการ

ลายเซ็นคำอธิบาย
PdfExtractor()เรียก PdfExtractor บนอินสแตนซ์ PdfExtractor นี้.
ExtractText()เรียก ExtractText บนอินสแตนซ์ PdfExtractor นี้.
GetText(outputFile: std::string)เรียก GetText(outputFile) บนอินสแตนซ์ PdfExtractor นี้.
HasNextPageText() → boolคืนค่า true หากพบข้อความหน้าถัดไป.
GetNextPageText(outputFile: std::string)เรียกใช้ GetNextPageText(outputFile) บนอินสแตนซ์ PdfExtractor นี้.
ExtractImage()เรียก ExtractImage บนอินสแตนซ์ PdfExtractor นี้.
HasNextImage() → boolคืนค่า true หากมีรูปภาพต่อไป.
GetNextImage(outputFile: std::string) → boolเรียกใช้ GetNextImage(outputFile) บนอินสแตนซ์ PdfExtractor นี้.
GetAttachNames() → std::vector<std::string>ส่งคืนชื่อไฟล์แนบ.
ExtractAttachment()เรียก ExtractAttachment บนอินสแตนซ์ PdfExtractor นี้.
ExtractAttachment(attachmentFileName: std::string)เรียก ExtractAttachment(attachmentFileName) บนอินสแตนซ์ PdfExtractor นี้.
GetAttachment(outputPath: std::string)เรียก GetAttachment(outputPath) บนอินสแตนซ์ PdfExtractor นี้.
GetAttachmentInfo() → std::vector<Aspose::Pdf::FileSpecification>คืนข้อมูลไฟล์แนบ.
StartPage() → intเรียก StartPage บนอินสแตนซ์ PdfExtractor นี้.
StartPage(value: int)เรียก StartPage(value) บนอินสแตนซ์ PdfExtractor นี้.
EndPage() → intเรียก EndPage บนอินสแตนซ์ PdfExtractor นี้.
EndPage(value: int)เรียก EndPage(value) บนอินสแตนซ์ PdfExtractor นี้.
ExtractTextMode() → intเรียก ExtractTextMode บนอินสแตนซ์ PdfExtractor นี้.
ExtractTextMode(value: int)เรียก ExtractTextMode(value) บนอินสแตนซ์ PdfExtractor นี้.
Resolution() → intเรียก Resolution บนอินสแตนซ์ PdfExtractor นี้.
Resolution(value: int)เรียก Resolution(value) บนอินสแตนซ์ PdfExtractor นี้.
Password() → std::stringเรียก Password บนอินสแตนซ์ PdfExtractor นี้.
Password(value: std::string)เรียก Password(value) บนอินสแตนซ์ PdfExtractor นี้.
IsBidi() → boolคืนค่า true หาก bidi ถูกตั้งค่า.

ดูเพิ่มเติม

 ภาษาไทย