Skip to content
Guides

Document Information

This example shows how to get document information:

java
CPDFDocument document = CPDFDocument.InitWithFilePath("filePath");
CPDFInfo info = document.GetInfo();
string title = info.Title;          // Document title.
string author = info.Author;        // Document author.
string subject = info.Subject;      // Document subject.
string creator = info.Creator;      // Application name that created the document
string producer = info.Producer;    // Application name that generated PDF data
string keywords = info.Keywords;    // Document keywords.
string creationDate = info.CreationDate;	// Document creation date
string modificationDate = info.ModificationDate;    // Document last modified date