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.

انظر أيضاً

 العربية