Free Support Forum - aspose.com

Set (background) image pdf with PdfFileMend -> AddImage

I want to add an image over the hole area of a pdf file (pdf file is landscape).


For Portrait pdf-files (pdf width: 595 / height: 842) this works fine:
mendor.AddImage(inImgStream, imgC, 0, 0, 595, 842);

The image is perfectly added to the pdf, but for Landscape pdf-files (pdf width: 842 / height: 595) I couldn’t.
mendor.AddImage(inImgStream, imgC, 0, 0, 842, 595);

What is wrong?

I added the base page to which I add the image.

Regards, John

Hi John,

I have reproduced the problem at my end and logged this issue as PDFKITNET-11263 in our issue tracking system. Our team will be looking into the matter and you’ll be updated via this forum as the issue is resolved.

We’re sorry for the inconvenience.
Regards,

The issues you have found earlier (filed as 11263) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.