Link Search Menu Expand Document

Census Table from Life and Annuity quote request PDF - VB.NET

PDF Extractor SDK sample in VB.NET demonstrating ‘Census Table from Life and Annuity quote request PDF’

Imports System.Diagnostics
Imports Bytescout.PDFExtractor

Class Program
    Friend Shared Sub Main(args As String())

        ' Create Bytescout.PDFExtractor.CSVExtractor instance
        Dim extractor As New CSVExtractor()
        extractor.RegistrationName = "demo"
        extractor.RegistrationKey = "demo"

        ' Load sample PDF document

        ' Set extraction area
        extractor.SetExtractionArea(New Drawing.RectangleF(27.0F, 324.8F, 554.3F, 358.5F))

        ' Check whether rows can be grouped
        extractor.LineGroupingMode = LineGroupingMode.GroupByRows

        ' Extract results
        Dim outputFile As String = "result.csv"

        ' Cleanup

        ' Open with default associated program

    End Sub
End Class

Download Source Code (.zip)

Return to the previous page Explore PDF Extractor SDK