Georgie Yuan,
Thanks for your suggestion.
Unfortunately it doesn't do anything better than before.
What I did:
I removed Aspose.Pdf.Kit.dll and Aspose.Pdf.Kit.xml in C:\Program Files\Aspose\Aspose.Pdf.Kit\Bin\net2.0 and placed your newer ones
After replacing I tried the following again:
//Resize the insertPage
PdfPageEditor pageEditor = new PdfPageEditor();
pageEditor.BindPdf(insertFile);
pageEditor.Zoom = (float)0.95;
pageEditor.Save(resizedInsertFile);
Stamp pdfFileStamp = new Stamp();
pdfFileStamp.BindPdf(resizedInsertFile, 1);
//Set origin
pdfFileStamp.SetOrigin(100, 100);
int[] page = { 1 };
pdfFileStamp.Pages = page;
PdfFileStamp stamper = new PdfFileStamp(inFile, outFile);
stamper.AddStamp(pdfFileStamp);
stamper.Close();
=================
pdfFileStamp.SetOrigin(100, 100); doesn't do anything, what value I used for SetOrigin.
What I want: I will change the position of the inserted and resized pdf page a little bit, so that it can be placed more in the centre of the new page and I think I have to do that with SetOrigin.
Thanks,
Jaco Rebel