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();
curPage.Paragraphs.Add(table);
table.Rows.Add().Cells.Add().Paragraphs.Add(img);