Every ByteScout tool includes sampleVB.NET source codes that you can find here or in the folder with installed ByteScout product. Pdf files batch processing with pdf extractor sdk in VB.NET can be applied with ByteScout Premium Suite. ByteScout Premium Suite is the bundle that includes twelve SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording.
The below SDK samples describe how to quickly make your application do pdf files batch processing with pdf extractor sdk in VB.NET with the help of ByteScout Premium Suite. If you want to implement this functionality, you should copy and paste code below into your app using code editor. Then compile and run your application. Enjoy writing a code with ready-to-use sample VB.NET codes to implement pdf files batch processing with pdf extractor sdk using ByteScout Premium Suite.
If you want to try other samples for VB.NET then free trial version of ByteScout Premium Suite is available on our website.
Imports Bytescout.PDFExtractor Imports System.IO Module Module1 Sub Main() ' Create Bytescout.PDFExtractor.TextExtractor instance Dim extractor = New TextExtractor() extractor.RegistrationName = "demo" extractor.RegistrationKey = "demo" ' Get PDF files Dim pdfFiles() = Directory.GetFiles(".", "*.pdf") For Each file As String In pdfFiles ' Load document extractor.LoadDocumentFromFile(file) ' Save extracted text to .txt file extractor.SaveTextToFile(Path.ChangeExtension(file, ".txt")) ' Reset the extractor before load another file extractor.Reset() Next ' Cleanup extractor.Dispose() End Sub End Module