I use almost the same code like the shown in your examples. So far so good. But now I would like to add pages of the second PDF file to the first. But this pages do have different margins. Is it possible to change these margins?`Reason to change it ist, that afterward an image as header sould be added on every page of the new PDF file. Without the change of the margin the image would be hide some text of the added pages.
Dim pdfDocument2 As New Aspose.Pdf.Document(pdfStream)
Dim PDFAnlage As Aspose.Pdf.Document
Dim ms As New MemoryStream([Document as Byte()])
PDFAnlage = New Aspose.Pdf.Document(ms)