Here you may get thousands pre-made source code samples for simple implementation in your own programming VB.NET projects. ByteScout Premium Suite was created to assist file processing using profiles with pdf extractor sdk in VB.NET. ByteScout Premium Suite is the bundle that includes twelve SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording.
VB.NET code snippet like this for ByteScout Premium Suite works best when you need to quickly implement file processing using profiles with pdf extractor sdk in your VB.NET application. If you want to know how it works, then this VB.NET sample code should be copied and pasted into your application’s code editor. Then just compile and run it. Check these VB.NET sample code examples to see if they acknowledge to your needs and requirements for the project.
ByteScout Premium Suite free trial version is available for download from our website. Free trial also includes programming tutorials along with source code samples.
Imports Bytescout.PDFExtractor ' This example demonstrates the use of profiles. Profiles are set of properties ' allowing to apply them to Extractor in any combination quickly. You can use ' predefined profiles or create you own in JSON format like in this example. Class Program Friend Shared Sub Main(args As String()) ' Create Bytescout.PDFExtractor.TextExtractor instance Dim extractor As New TextExtractor() extractor.RegistrationName = "demo" extractor.RegistrationKey = "demo" extractor.OCRLanguageDataFolder = "c:\Program Files\Bytescout PDF Extractor SDK\ocrdata" ' Load sample PDF document extractor.LoadDocumentFromFile("sample_ocr.pdf") ' Apply predefined profiles extractor.Profiles = "ocr, newspaper-layout" ' Extract text to file extractor.SaveTextToFile("result1.txt") extractor.Reset() ' Load another document extractor.LoadDocumentFromFile("sample_ocr.pdf") ' Load and apply custom profiles extractor.LoadProfiles("profiles.json") extractor.Profiles = "keep-formatting, ocr-forced-200dpi" ' Extract text to file extractor.SaveTextToFile("result2.txt") ' Cleanup extractor.Dispose() ' See result files in "bin\Debug" folder End Sub End Class