internal PDFDocumentInformation GetDocumentInformation(PDDocument pdfDocument) { PDDocumentInformation documentInformation = pdfDocument.getDocumentInformation(); PDFDocumentInformation pDFDocumentInformation = new PDFDocumentInformation() { Author = documentInformation.getAuthor() }; documentInformation.getCreationDate(); pDFDocumentInformation.CreationDate = this.ConvertJavaDateToCSharp(documentInformation.getCreationDate()); pDFDocumentInformation.Creator = documentInformation.getCreator(); pDFDocumentInformation.Keywords = documentInformation.getKeywords(); pDFDocumentInformation.ModifiedDate = this.ConvertJavaDateToCSharp(documentInformation.getModificationDate()); pDFDocumentInformation.Producer = documentInformation.getProducer(); pDFDocumentInformation.Subject = documentInformation.getSubject(); pDFDocumentInformation.Title = documentInformation.getTitle(); pDFDocumentInformation.Trapped = documentInformation.getTrapped(); return(pDFDocumentInformation); }
public void SetDocumentInformation(PDFDocumentInformation info) { this.pdfDocument.setDocumentInformation(info.PDFBoxDocumentInformation); }