Android
ComPDFKit PDF SDK
Guides

Document Information

 

To edit document information, refer to the following method in the CPDFDocument class.

public CPDFInfo getInfo() {
   //...
}
​
public boolean setInfo(CPDFInfo info){
 //...
}
​
public class CPDFInfo {
   //document title.
   private String title;
   //document author.
   private String author;
   //document subject.
   private String subject;
   //name of app that created document.
   private String creator;
   //name of app that produced PDF data.
   private String producer;
   //document creation date.
   private String creationDate;
   //document modification date.
   private String modificationDate;
   //document keywords.
   private String keywords;
}