Guides
Document Information
Document Information
dart
CPDFInfo info = await document.getInfo();
String title = info.getTitle();
String author = info.getAuthor();
String subject = info.getSubject();
String keywords = info.getKeywords();
String creator = info.getCreator();
String producer = info.getProducer();
DateTime? creationDate = info.getCreationDate();
DateTime? modDate = info.getModDate();Permission Information
dart
CPDFDocumentPermissionInfo permissions = await document.getPermissionsInfo();Page Information
dart
// Get the size of a specific page
Size pageSize = await document.getPageSize(0);