Link Search Menu Expand Document

Census Table from Life and Annuity quote request PDF - C#

PDF Extractor SDK sample in C# demonstrating ‘Census Table from Life and Annuity quote request PDF’

using Bytescout.PDFExtractor;
using System.Diagnostics;

namespace LifeAndAnnuityQuoteRequest
    class Program
		static void Main(string[] args)
            // Create Bytescout.PDFExtractor.CSVExtractor instance
            CSVExtractor extractor = new CSVExtractor();
			extractor.RegistrationName = "demo";
			extractor.RegistrationKey = "demo";

            // Load sample PDF document

            // Set extraction area
            extractor.SetExtractionArea(new System.Drawing.RectangleF(27F, 324.8F, 554.3F, 358.5F));

            // Check whether rows can be grouped
            extractor.LineGroupingMode = LineGroupingMode.GroupByRows;

            // Extract results
            var outputFile = "result.csv";

            // Cleanup

            // Open with default associated program
            ProcessStartInfo processStartInfo = new ProcessStartInfo(outputFile);
            processStartInfo.UseShellExecute = true;

Download Source Code (.zip)

Return to the previous page Explore PDF Extractor SDK