PdfExtractor
Přehled
PdfExtractor je třída v Aspose.PDF FOSS pro C++.
PdfExtractor extrahuje text voláním ExtractText() a poté GetText(outputFile) pro zápis extrahovaného prostého textu do souboru.
Tato třída poskytuje 24 metod pro práci s objekty PdfExtractor v C++ programech. Dostupné metody zahrnují: EndPage, ExtractAttachment, ExtractImage, ExtractText, ExtractTextMode, GetAttachNames, GetAttachment, GetAttachmentInfo, GetNextImage, GetNextPageText, GetText, HasNextImage a 6 dalších metod. Veškeré veřejné členy jsou přístupné jakékoli C++ aplikaci po instalaci balíčku Aspose.PDF FOSS pro C++.
Metody
| Podpis: | Popis: |
|---|---|
PdfExtractor() | Volá PdfExtractor na této instanci PdfExtractor. |
ExtractText() | Volá ExtractText na této instanci PdfExtractor. |
GetText(outputFile: std::string) | Volá GetText(outputFile) na této instanci PdfExtractor. |
HasNextPageText() → bool | Vrací true, pokud je přítomen text další stránky. |
GetNextPageText(outputFile: std::string) | Volá GetNextPageText(outputFile) na této instanci PdfExtractor. |
ExtractImage() | Volá ExtractImage na této instanci PdfExtractor. |
HasNextImage() → bool | Vrátí true, pokud je přítomen další obrázek. |
GetNextImage(outputFile: std::string) → bool | Volá GetNextImage(outputFile) na této instanci PdfExtractor. |
GetAttachNames() → std::vector<std::string> | Vrací názvy příloh. |
ExtractAttachment() | Volá ExtractAttachment na této instanci PdfExtractor. |
ExtractAttachment(attachmentFileName: std::string) | Volá ExtractAttachment(attachmentFileName) na této instanci PdfExtractor. |
GetAttachment(outputPath: std::string) | Volá GetAttachment(outputPath) na této instanci PdfExtractor. |
GetAttachmentInfo() → std::vector<Aspose::Pdf::FileSpecification> | Vrací informace o příloze. |
StartPage() → int | Volá StartPage na této instanci PdfExtractor. |
StartPage(value: int) | Volá StartPage(value) na této instanci PdfExtractor. |
EndPage() → int | Volá EndPage na této instanci PdfExtractor. |
EndPage(value: int) | Volá EndPage(value) na této instanci PdfExtractor. |
ExtractTextMode() → int | Volá ExtractTextMode na této instanci PdfExtractor. |
ExtractTextMode(value: int) | Volá ExtractTextMode(value) na této instanci PdfExtractor. |
Resolution() → int | Volá Resolution na této instanci PdfExtractor. |
Resolution(value: int) | Volá Resolution(value) na této instanci PdfExtractor. |
Password() → std::string | Volá Password na této instanci PdfExtractor. |
Password(value: std::string) | Volá Password(value) na této instanci PdfExtractor. |
IsBidi() → bool | Vrátí true, pokud je bidi nastaveno. |