Hi,
the source is just your example, how to take a PDF as background for another pdf.
PdfFileStamp fileStamp = new PdfFileStamp();
fileStamp.BindPdf(fullFileNamePdf);
Aspose.Pdf.Facades.Stamp stamp = new Aspose.Pdf.Facades.Stamp();
stamp.BindPdf(fullFileNameBackground, 1);
stamp.IsBackground = true;
fileStamp.AddStamp(stamp);
fileStamp.Save(fullFileNamePdf);
fileStamp.Close();
The inputfile is “Foreground.pdf” where i added the “Background.pdf” as background. The Result is “Result Foreground.PDF”
In the File “Foreground blendmode set.PDF” i set the blendmode for all contents with PDF XChange Editor (Demo Version). Now, when i combine the two PDFs “Foreground blendmode set.PDF” and
“Background.PDF”, i get the result i need “Result Foreground blendmode set.PDF”.
So, what i would like, is to set the blendmode programmaticaly with aspose for all contents in a PDF.
Attachments
PDFs.zip (131.4 KB)