Set signature appearance, better PDF printing and stable PDF to image conversion with Aspose.Pdf.Kit for Java 4.4

Share on FacebookTweet about this on TwitterShare on LinkedIn

Aspose.Pdf icon

We are pleased to announce the release of Aspose.Pdf.Kit for Java 4.4.0. In this release, we’ve improved PDF to image conversion and PDF printing. There are also a couple of new features.

We’ve introduced a new method for setting the image for a signature appearance from an input stream has been implemented in the PdfFileSignature class.

PdfFileSignature pdfSign = new PdfFileSignature(firstFilename, secondFilename); 
pdfSign.setSignatureAppearanceStream(new FileInputStream("filename")); 
pdfSign.sign("Signature", "Reason", "Contact", "Location", signature); 
pdfSign.save();

We have also implemented a new method to control the appearance of signature properties.

PdfFileSignature pdfSign = new PdfFileSignature(firstFilename, secondFilename); 
pdfSign.setSignatureAppearanceStream(new FileInputStream(SIGN_IMG_FILENAME)); 
pdfSign.sign("Signature", "Reason", "Contact", "Location", sugnature); 
pdfSign.setShowProperties(false); 
pdfSign.save();

Please visit the following link for further details on what’s new & fixed in Aspose.Pdf.Kit for Java 4.4.0.