We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Image added in Table Cell crashes

I am trying to add a logo with header text next to it. To do this I want to use a Table with 2 Cells, 1 cell will have text, and the other will hold the image. This appears to be working fine, until I try to set a Height for the image. If I set FixHeight, then the Save function hangs and never returns. Is there something other than FixHeight that I should be using to set the image size? I have included some limited code to reproduce this issue.

Aspose.Pdf.Document pdf = new Aspose.Pdf.Document();
Aspose.Pdf.Page curPage = pdf.Pages.Add();
Aspose.Pdf.Image img = new Aspose.Pdf.Image();
//img.FixHeight = 100;
img.ImageStream = logo_schoolpicture.GetStream();
Aspose.Pdf.Table table = new Aspose.Pdf.Table();

Hi Mohammed,

for using our API’s.

have tested the scenario and I am able to notice the same problem. For the sake
of correction, I have logged this problem as PDFNEWNET-37875 in
our issue tracking system. We will further look into the details of this
problem and will keep you updated on the status of correction. Please be
patient and spare us little time. We are sorry for this inconvenience.

The issues you have found earlier (filed as PDFNEWNET-37875) have been fixed in Aspose.Pdf for .NET 9.9.0.

This message was posted using Notification2Forum from Downloads module by Aspose Notifier.