ByteScout Data Extraction Suite - VB.NET - Convert pdf to json with images with pdf extractor sdk - ByteScout

ByteScout Data Extraction Suite – VB.NET – Convert pdf to json with images with pdf extractor sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout Data Extraction Suite – VB.NET – Convert pdf to json with images with pdf extractor sdk

How to convert pdf to json with images with pdf extractor sdk in VB.NET and ByteScout Data Extraction Suite

How to write a robust code in VB.NET to convert pdf to json with images with pdf extractor sdk with this step-by-step tutorial

These source code samples are assembled by their programming language and functions they apply. 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. It can be applied to convert pdf to json with images with pdf extractor sdk using VB.NET.

This prolific sample source code in VB.NET for ByteScout Data Extraction Suite contains various functions and other necessary options you should do calling the API to convert pdf to json with images with pdf extractor sdk. Simply copy and paste in your VB.NET project or application you and then run your app! Use of ByteScout Data Extraction Suite in VB.NET is also described in the documentation included along with the product.

All these programming tutorials along with source code samples and ByteScout free trial version are available for download from our website.

On-demand (REST Web API) version:
 Web API (on-demand version)

On-premise offline SDK for Windows:
 60 Day Free Trial (on-premise)

Module1.vb
      
Imports Bytescout.PDFExtractor 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("sample1.pdf") ' Uncomment this line to get rid of empty nodes in JSON 'extractor.PreserveFormattingOnTextExtraction = False ' Set output image format extractor.ImageFormat = OutputImageFormat.PNG ' Save images to external files extractor.SaveImages = ImageHandling.OuterFile extractor.ImageFolder = "images" ' Folder for external images extractor.SaveJSONToFile("result_with_external_images.json") ' Embed images into JSON as Base64 encoded string extractor.SaveImages = ImageHandling.Embed extractor.SaveJSONToFile("result_with_embedded_images.json") ' Cleanup extractor.Dispose() End Sub End Class End Namespace

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Data Extraction Suite Home Page

Explore ByteScout Data Extraction Suite Documentation

Explore Samples

Sign Up for ByteScout Data Extraction Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

VIDEO

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Data Extraction Suite Home Page

Explore ByteScout Data Extraction Suite Documentation

Explore Samples

Sign Up for ByteScout Data Extraction Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next