ByteScout PDF Extractor SDK - VB.NET - Reading and Writing to Azure Blob - ByteScout
Announcement
Our ByteScout SDK products are sunsetting as we focus on expanding new solutions.
Learn More Open modal
Close modal
Announcement Important Update
ByteScout SDK Sunsetting Notice
Our ByteScout SDK products are sunsetting as we focus on our new & improved solutions. Thank you for being part of our journey, and we look forward to supporting you in this next chapter!

ByteScout PDF Extractor SDK – VB.NET – Reading and Writing to Azure Blob

  • Home
  • /
  • Articles
  • /
  • ByteScout PDF Extractor SDK – VB.NET – Reading and Writing to Azure Blob

reading and writing to azure blob in VB.NET using ByteScout PDF Extractor SDK

Learn to code in VB.NET to make reading and writing to azure blob with this simple How-To tutorial

Writing of the code to reading and writing to azure blob in VB.NET can be done by developers of any level using ByteScout PDF Extractor SDK. ByteScout PDF Extractor SDK helps with reading and writing to azure blob in VB.NET. ByteScout PDF Extractor SDK is the SDK that helps developers to extract data from unstructured documents, pdf, images, scanned and electronic forms. Includes AI functions like automatic table detection, automatic table extraction and restructuring, text recognition and text restoration from pdf and scanned documents. Includes PDF to CSV, PDF to XML, PDF to JSON, PDF to searchable PDF functions as well as methods for low level data extraction.

The below SDK samples describe how to quickly make your application do reading and writing to azure blob in VB.NET with the help of ByteScout PDF Extractor SDK. If you want to implement this functionality, you should copy and paste code below into your app using code editor. Then compile and run your application. Enjoy writing a code with ready-to-use sample VB.NET codes to implement reading and writing to azure blob using ByteScout PDF Extractor SDK.

ByteScout PDF Extractor SDK is available as a free trial. You may get it from our website along with all other source code samples for VB.NET applications.

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 Imports System.IO Namespace ConsoleApplication1 Class Program Shared Sub Main(ByVal args As String()) 'Please note: Streams can be read/write To azure blobs, so In this example, 'we 're demonstrating how to read pdf from stream, convert to csv, 'And write to csv stream ' Create Bytescout.PDFExtractor.CSVExtractor instance Dim extractor As New CSVExtractor() extractor.RegistrationName = "demo" extractor.RegistrationKey = "demo" ' Get input stream Dim inputStream = GetMemoryStream("sample3.pdf") ' Load sample PDF document from Stream extractor.LoadDocumentFromStream(inputStream) ' You can change CSV separator symbol (if needed) from "," symbol to another if needed for non-US locales 'extractor.CSVSeparatorSymbol = "," ' Save extracted CSV data to output stream Dim outputStream As New MemoryStream() extractor.SaveCSVToStream(outputStream) ' Save output stream to file, so we can take a look WriteStreamToFile(outputStream, "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 ''' <summary> ''' Get Memory stream from file ''' </summary> Shared Function GetMemoryStream(ByVal fileName As String) As Stream Return New FileStream(fileName, FileMode.Open) End Function ''' <summary> ''' Write stream to file ''' </summary> Shared Sub WriteStreamToFile(ByVal stream As Stream, ByVal fileName As String) Using fileStream = File.Create(fileName) stream.Seek(0, SeekOrigin.Begin) stream.CopyTo(fileStream) End Using End Sub End Class End Namespace

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout PDF Extractor SDK Home Page

Explore ByteScout PDF Extractor SDK Documentation

Explore Samples

Sign Up for ByteScout PDF Extractor SDK 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 PDF Extractor SDK Home Page

Explore ByteScout PDF Extractor SDK Documentation

Explore Samples

Sign Up for ByteScout PDF Extractor SDK Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next