ByteScout Premium Suite - C# - Extract PDF document Info with PDF Extractor SDK - 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 Premium Suite – C# – Extract PDF document Info with PDF Extractor SDK

  • Home
  • /
  • Articles
  • /
  • ByteScout Premium Suite – C# – Extract PDF document Info with PDF Extractor SDK

How to extract PDF document info with PDF extractor SDK in C# and ByteScout Premium Suite

This code in C# shows how to extract PDF document info with PDF extractor SDK with this how to tutorial

The code displayed below will guide you to install an C# app to extract PDF document info with PDF extractor SDK. ByteScout Premium Suite is the bundle that includes twelve SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording. It can be applied to extract PDF document info with PDF extractor SDK using C#.

The SDK samples given below describe how to quickly make your application do extract PDF document info with PDF extractor SDK in C# with the help of ByteScout Premium Suite. This C# sample code is all you need for your app. Just copy and paste the code, add references (if needs to) and you are all set! Applying C# application mostly includes various stages of the software development so even if the functionality works please test it with your data and the production environment.

The trial version of ByteScout Premium Suite can be downloaded for free from our website. It also includes source code samples for C# and other programming languages.

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.PDFExtractor; namespace ExtractInfo { class Program { static void Main(string[] args) { // Create Bytescout.PDFExtractor.InfoExtractor instance InfoExtractor extractor = 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); // Cleanup extractor.Dispose(); Console.WriteLine(); Console.WriteLine("Press any key to continue..."); Console.ReadLine(); } } }

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Premium Suite Home Page

Explore ByteScout Premium Suite Documentation

Explore Samples

Sign Up for ByteScout Premium Suite 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 Premium Suite Home Page

Explore ByteScout Premium Suite Documentation

Explore Samples

Sign Up for ByteScout Premium Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next