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

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

  • Home
  • /
  • Articles
  • /
  • ByteScout Premium 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 with ByteScout Premium Suite

Learn to convert pdf to json with images with pdf extractor sdk in VB.NET

We made thousands of pre-made source code pieces for easy implementation in your own programming projects. ByteScout Premium Suite is the set that includes 12 SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording and you can use it to convert pdf to json with images with pdf extractor sdk with VB.NET.

These VB.NET code samples for VB.NET guide developers to speed up coding of the application when using ByteScout Premium Suite. Just copy and paste the code into your VB.NET application’s code and follow the instructions. Check VB.NET sample code samples to see if they respond to your needs and requirements for the project.

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 Premium Suite Home Page

Explore ByteScout Premium Suite Documentation

Explore Samples

Sign Up for ByteScout Premium 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 Premium Suite Home Page

Explore ByteScout Premium Suite Documentation

Explore Samples

Sign Up for ByteScout Premium Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next