ByteScout Document Parser SDK - C# - Parse Multipage Table - ByteScout

ByteScout Document Parser SDK – C# – Parse Multipage Table

  • Home
  • /
  • Articles
  • /
  • ByteScout Document Parser SDK – C# – Parse Multipage Table

How to parse multipage table in C# using ByteScout Document Parser SDK

Write code in C# to parse multipage table with this step-by-step tutorial

Parse multipage table is easy to implement in C# if you use these source codes below. What is ByteScout Document Parser SDK? It is the customizable data extraction platform for batch data extraction from documents. Relies on special templates that can be created with no special technical skills required. Supports millions of documents as input and designed to handle multiple threads. Can output data as JSON, CSV, XML or custom format. It can help you to parse multipage table in your C# application.

C# code samples for C# developers help to speed up coding of your application when using ByteScout Document Parser SDK. Follow the instructions from the scratch to work and copy the C# code. You can use these C# sample examples in one or many applications.

Free trial version of ByteScout Document Parser SDK is available for download from our website. Get it to try other source code samples for C#.

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

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

Program.cs
      
using System; using ByteScout.DocumentParser; // This example demonstrates parsing of multipage tables in two different approaches. // See comments in the code of templates. namespace ParseMultipageTable { class Program { static void Main(string[] args) { string inputDocument = @".\MultiPageTable.pdf"; string template1 = @".\MultiPageTable-template1.yml"; string template2 = @".\MultiPageTable-template1.yml"; using (DocumentParser documentParser = new DocumentParser("demo", "demo")) { Console.WriteLine({code}quot;Loading template 1..."); documentParser.AddTemplate(template1); Console.WriteLine({code}quot;Template 1 loaded."); Console.WriteLine(); Console.WriteLine({code}quot;Parsing \"{inputDocument}\"..."); Console.WriteLine(); // Parse document data in JSON format documentParser.ParseDocument(inputDocument, "result1.json", OutputFormat.JSON); Console.WriteLine("Parsing results saved to `result1.json`."); Console.WriteLine(); } using (DocumentParser documentParser = new DocumentParser("demo", "demo")) { Console.WriteLine({code}quot;Loading template 2..."); documentParser.AddTemplate(template2); Console.WriteLine({code}quot;Template 2 loaded."); Console.WriteLine(); Console.WriteLine({code}quot;Parsing \"{inputDocument}\"..."); Console.WriteLine(); // Parse document data in JSON format documentParser.ParseDocument(inputDocument, "result2.json", OutputFormat.JSON); Console.WriteLine("Parsing results saved to `result2.json`."); Console.WriteLine(); } Console.WriteLine(); Console.WriteLine("Press any key to continue..."); Console.ReadLine(); } } }

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Document Parser SDK Home Page

Explore ByteScout Document Parser SDK Documentation

Explore Samples

Sign Up for ByteScout Document Parser 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 Document Parser SDK Home Page

Explore ByteScout Document Parser SDK Documentation

Explore Samples

Sign Up for ByteScout Document Parser SDK Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next