Source code documentation samples give simple and easy method to install a needed feature into your application. ByteScout Premium Suite: the bundle that includes twelve SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording. It can read hindi text with pdf extractor sdk in VB.NET.
The SDK samples given below describe how to quickly make your application do read hindi text with pdf extractor sdk in VB.NET with the help of ByteScout Premium Suite. Simply copy and paste in your VB.NET project or application you and then run your app! If you want to use these VB.NET sample examples in one or many applications then they can be used easily.
Trial version of ByteScout Premium Suite is available for free. Source code samples are included to help you with your VB.NET app.
Imports System.Text Imports Bytescout.PDFExtractor Module Program Sub Main() Try ' Files Dim fileName As String = "hindiText.pdf" Dim destFileName As String = "extractedText.txt" ' Read all text from pdf file Dim extractor As TextExtractor = New TextExtractor ' Load PDF document extractor.LoadDocumentFromFile(fileName) ' Option 1: Extract all text and write to destination file extractor.SaveTextToFile(destFileName, encoding := Encoding.Unicode) Console.WriteLine("All extracted text (hindi) written successfully to destination text file.") Process.Start(destFileName) ' Option 2: Read all text to string variable 'Dim allText As String = extractor.GetText ' Cleanup extractor.Dispose() Catch ex As Exception Console.WriteLine(ex.Message) End Try Console.WriteLine() Console.WriteLine("Press any key to continue...") Console.ReadLine() End Sub End Module