ByteScout Data Extraction Suite - VB.NET - Convert pdf to csv (merge multiline text to table cell) with pdf extractor sdk - ByteScout

ByteScout Data Extraction Suite – VB.NET – Convert pdf to csv (merge multiline text to table cell) with pdf extractor sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout Data Extraction Suite – VB.NET – Convert pdf to csv (merge multiline text to table cell) with pdf extractor sdk

How to convert pdf to csv (merge multiline text to table cell) with pdf extractor sdk in VB.NET using ByteScout Data Extraction Suite

This code in VB.NET shows how to convert pdf to csv (merge multiline text to table cell) with pdf extractor sdk with this how to tutorial

Quickly learn how to convert pdf to csv (merge multiline text to table cell) with pdf extractor sdk in VB.NET with this sample source code. ByteScout Data Extraction Suite: 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 convert pdf to csv (merge multiline text to table cell) with pdf extractor sdk in VB.NET.

The following code snippet for ByteScout Data Extraction Suite works best when you need to quickly convert pdf to csv (merge multiline text to table cell) with pdf extractor sdk in your VB.NET application. This VB.NET sample code is all you need for your app. Just copy and paste the code, add references (if needs to) and you are all set! Want to see how it works with your data then code testing will allow the function to be tested and work properly.

The trial version of ByteScout Data Extraction Suite can be downloaded for free from our website. It also includes source code samples for VB.NET and other programming languages.

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 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.CSVExtractor instance Dim extractor As New CSVExtractor() extractor.RegistrationName = "demo" extractor.RegistrationKey = "demo" ' Load sample PDF document extractor.LoadDocumentFromFile("sample3_multiline.pdf") ' You can change CSV separator symbol (if needed) from "," symbol to another if needed for non-US locales 'extractor.CSVSeparatorSymbol = "," ' For multiline cell join extracted cell text into single line extractor.LineGroupingMode = LineGroupingMode.GroupByRows extractor.Unwrap = True ' Save extracted CSV data to file extractor.SaveCSVToFile("output.csv") ' Cleanup extractor.Dispose() Console.WriteLine() Console.WriteLine("Data has been extracted to 'output.csv' file.") Console.WriteLine() Console.WriteLine("Press any key to continue and open CSV in default CSV viewer (or Excel)...") Console.ReadKey() ' Open result file in default associated application (for demo purposes) Process.Start("output.csv") 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