Products
PDFKit.NET 4.0
Created
11/2/2011
Tags
Manipulate PDF

Read document info such as Author, Title and Subject from a PDF document.

C# Code sample

Console.WriteLine("Author: "+ document.DocumentInfo.Author); Console.WriteLine("Creation date: " + document.DocumentInfo.CreationDate); Console.WriteLine("Creator: " + document.DocumentInfo.Creator); Console.WriteLine("Keywords: " + document.DocumentInfo.Keywords); Console.WriteLine("Last modified on: " + document.DocumentInfo.LastModifiedDate); Console.WriteLine("Producer: " + document.DocumentInfo.Producer); Console.WriteLine("Subject: "+ document.DocumentInfo.Subject); Console.WriteLine("Title: "+ document.DocumentInfo.Title);

}]]>

VB.NET code sample Console.WriteLine("Author: " + document.DocumentInfo.Author) Console.WriteLine("Creation date: " + document.DocumentInfo.CreationDate) Console.WriteLine("Creator: " + document.DocumentInfo.Creator) Console.WriteLine("Keywords: " + document.DocumentInfo.Keywords) Console.WriteLine("Last modified on: " + document.DocumentInfo.LastModifiedDate) Console.WriteLine("Producer: " + document.DocumentInfo.Producer) Console.WriteLine("Subject: " + document.DocumentInfo.Subject) Console.WriteLine("Title: " + document.DocumentInfo.Title)

End Using ]]>