SVG Images are not displaying in table cell

HI

i am using below code to display the SVG image. it is working fine with Png image. but SVG images are not displaying. kindly guide me to resolve this issue quickly. sample svg image and output pdf updated here. i have marked as yellow color in output pdf which i have place the svg file

Aspose.Pdf.Image img = new Aspose.Pdf.Image();
System.IO.Stream imgStream;
dictCropImage.TryGetValue(dtContent.Columns[j].ColumnName, out imgStream);
if (imgStream != null && imgStream.Length > 0)
{
img.ImageStream = imgStream;
img.FixHeight = img.FixWidth = 45;
img.FileType = ImageFileType.Svg;
img.HorizontalAlignment = HorizontalAlignment.Center;
//TextFragment tf = AssignTextFragment(contentData);
table.Rows[intRowNo].Cells[j].IsWordWrapped = false;
table.Rows[intRowNo].Cells[j].VerticalAlignment = VerticalAlignment.Center;
table.Rows[intRowNo].Cells[j].Alignment = HorizontalAlignment.Left;
table.Rows[intRowNo].Cells[j].Paragraphs.Add(img);
}

Hi there,


Thanks for your inquriy. I have tested the scenario with SVG image from stream and noticed your reported issue, so logged a ticket PDFNET-42134 in our issue tracking system for further investigation and rectification. We will keep you updated about the issue resolution progress within this forum thread.

Furthermore, I have noticed if we use SVG image from disk API throws ArgumentException, so logged another ticket PDFNET-42133 for its rectification.

We are sorry for the inconvenience.

Best Regards,

The issues you have found earlier (filed as PDFNET-42133) have been fixed in Aspose.PDF for .NET 18.11.

The issues you have found earlier (filed as PDFNET-42134) have been fixed in Aspose.PDF for .NET 19.7.