I am trying to add an image to a table cell from a stream and then I save the PDF through a memory stream to the download folder.
The only way I have been able to add an image to my PDF at all is with the following code:
Stream mystream = new MemoryStream(imageByteArray);
Aspose.Pdf.Rectangle logoRect = new Aspose.Pdf.Rectangle(350, 350, 75, 75);
The problem is I need to add the image to a table because the information above the table is not of a fixed size so the table could be moved up or down depending on the length of the information above.
When I try to do the code below I get a blank page and it doesn’t trigger the download of the PDF.
Image img = new Image();
img.ImageStream = mystream;
The website is hosting in Azure so I don’t have the option to save anything to the server hard drive and I only have a license to Aspose.PDF with a .dll before Mar 2, 2016.
Can someone PLEASE help!!