We are trying to place stamps on top right of pdfs generated using code below -
Document pdfDocument = new Document(mergedPdf); PdfFileStamp fileStamp = new PdfFileStamp(pdfDocument); FileStream imageStream = new FileStream(imgPath, FileMode.Open); Aspose.Pdf.Facades.Stamp stamp = new Aspose.Pdf.Facades.Stamp(); stamp.BindImage(imageStream); stamp.SetOrigin(430, 680); stamp.IsBackground = false; fileStamp.AddStamp(stamp); imageStream.Close(); pdfDocument.Save(mergedPdf);
Requirement : We want the stamp to be in the foreground and we want to be able to see the text in the background.
Our stamp image is png and pdf background is white , as a result we cant see the text in the background .
Please suggest how should go ahead .