Convert pdf to json with pdf extractor sdk is simple to apply in VB.NET if you use these source codes below. ByteScout Data Extraction Suite is the set that includes 3 SDK products for data extraction from PDF, scans, images and from spreadsheets: PDF Extractor SDK, Data Extraction SDK, Barcode Reader SDK and you can use it to convert pdf to json with pdf extractor sdk with VB.NET.
Want to quickly learn? This fast application programming interfaces of ByteScout Data Extraction Suite for VB.NET plus the guidelines and the code below will help you quickly learn how to convert pdf to json with pdf extractor sdk. Follow the instructions from scratch to work and copy the VB.NET code. Further improvement of the code will make it more robust.
If you want to try other source code samples then the free trial version of ByteScout Data Extraction Suite is available for download from our website. Just try other source code samples for VB.NET.
Imports System Imports System.Collections.Generic Imports System.Text Imports Bytescout.PDFExtractor Imports System.Diagnostics Namespace ConsoleApplication1 Class Program Shared Sub Main(ByVal args As String()) ' Create Bytescout.PDFExtractor.JSONExtractor instance Dim extractor As New JSONExtractor() extractor.RegistrationName = "demo" extractor.RegistrationKey = "demo" ' Load sample PDF document extractor.LoadDocumentFromFile("sample3.pdf") extractor.SaveJSONToFile("output.json") ' Cleanup extractor.Dispose() Console.WriteLine() Console.WriteLine("Data has been extracted to 'output.json' file.") Console.WriteLine() Console.WriteLine("Press any key to continue and open JSON file in default viewer...") Console.ReadKey() ' Open result file in default associated application (for demo purposes) Process.Start("output.json") End Sub End Class End Namespace