Hi,
PdfFileStamp does not work on all pdf.
It works fine for pdf that are generated through Aspose.
Code:
PdfFileStamp fileStamp = new PdfFileStamp();
// Open Document
fileStamp.bindPdf(sourceName);
// Create stamp
…...bindLogo(new FormattedText(text, java.awt.Color.BLACK, null...create text stamp TextStamp textStamp = new TextStamp(text); //...