With this source code sample you may quickly learn how to extract info about PDF in VB.NET. Want to extract info about PDF in your VB.NET app? ByteScout PDF Extractor SDK is designed for it. ByteScout PDF Extractor SDK is the SDK is designed to help developers with pdf tables and pdf data extraction from unstructured documents like pdf, tiff, scans, images, scanned and electronic forms. The library is powered by OCR, computer vision and AI to provide unique functionality like table detection, automatic table structure extraction, data restoration, data restructuring and reconstruction. Supports PDF, TIFF, PNG, JPG images as input and can output CSV, XML, JSON formatted data. Includes full set of utilities like pdf splitter, pdf merger, searchable pdf maker and other utilities.
Fast application programming interfaces of ByteScout PDF Extractor SDK for VB.NET plus the instruction and the code below will help you quickly learn how to extract info about PDF. In order to implement the functionality, you should copy and paste this code for VB.NET below into your code editor with your app, compile and run your application. Further enhancement of the code will make it more vigorous.
Download free trial version of ByteScout PDF Extractor SDK from our website with this and other source code samples for VB.NET.
Imports Bytescout.PDFExtractor Class Program Friend Shared Sub Main(args As String()) ' Create Bytescout.PDFExtractor.InfoExtractor instance Dim extractor As New InfoExtractor() extractor.RegistrationName = "demo" extractor.RegistrationKey = "demo" ' Load sample PDF document extractor.LoadDocumentFromFile(".\sample1.pdf") Console.WriteLine("Author: " + extractor.Author) Console.WriteLine("Creator: " + extractor.Creator) Console.WriteLine("Producer: " + extractor.Producer) Console.WriteLine("Subject: " + extractor.Subject) Console.WriteLine("Title: " + extractor.Title) Console.WriteLine("CreationDate: " + extractor.CreationDate) Console.WriteLine("Keywords: " + extractor.Keywords) Console.WriteLine("Bookmarks: " + extractor.Bookmarks) Console.WriteLine("Encrypted: " + extractor.Encrypted.ToString) ' Cleanup extractor.Dispose() Console.WriteLine() Console.WriteLine("Press any key to continue...") Console.ReadLine() End Sub End Class