On this page
Guides
Document Information
This example shows how to get document information:
java
CPDFDocument document = new CPDFDocument();
document.open(pdfPath);
CPDFInfo info = document.getInfo();
String title = info.getTitle(); // Document title.
String author = info.getAuthor(); // Document author.
String subject = info.getSubject(); // Document subject.
String creator = info.getCreator(); // Application name that created the document
String producer = info.getProducer(); // Application name that generated PDF data
String keywords = info.getKeywords(); // Document keywords.
String creationDate = info.getCreationDate(); // Document creation date
String modificationDate = info.getModificationDate(); // Document last modified date