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

Free Support Forum - aspose.com

Issues with smart art and word art rendering

Hi we’re using Aspose.Cells for .NET version 7.7.2 and are having issues with the rendered images for smart art and word art contained in documents.

We are converting sheets to images and also extracting image individually from sheets but in both cases we are seeing considerable differences between the original shapes and the rendered ones.

As an example our Aspose.Cells code will loop over all shapes on a sheet and call ToImage() on the shape;

this.imageOptions.ImageFormat = System.Drawing.Imaging.ImageFormat.Png;
this.imageOptions.Transparent = true;
this.imageOptions.ChartImageType = System.Drawing.Imaging.ImageFormat.Png;

foreach (Aspose.Cells.Drawing.Shape shape in sheet.Shape)
{
using (MemoryStream memoryStream = new MemoryStream())
{
shape.ToImage(memoryStream, this.imageOptions);
// Use the stream…
}
}

I’ve attached two documents which both display the rendering issue. The word art renders seem to loose all font formatting, and the results from the smart art is mixed but includes missing text, missing shapes and badly aligned images.

Are you able to confirm that this is an issue with the Aspose.Cells library or is there some other way I can be extracting images to solve this?

Thanks

Tim


Hi Tim,

Thanks for your posting and using Aspose.Cells.

We were able to observe the rendering issues with smart art and word art objects. It seems, the rendering of smart art and word art objects is not fully supported. However, we have logged your issues in our database for investigation and fix. Once, these issues are resolved or we have some other update for you, we will let you know asap.

These issues have been logged as following.

  • CELLSNET-42493: Issues with smart art rendering
  • CELLSNET-42494: Issues with word art rendering

Hi,

Thanks for using Aspose.Cells.

We have supported converting word art of xlsx file to image. But rendering 3D effect is still not supported.

Please download and try the following latest fix

Aspose.Cells for .NET v17.1.3 (.NET 2.0) compiled in .NET Framework 2.0.
Aspose.Cells for .NET v17.1.3 (.NET 4.0) compiled in .NET Framework 4.0.

and let us know your feedback.