Free Support Forum -

Excel to SVG conversion using C#

Does GroupDocs.Conversion support converting from Excel (.xls) to SVG?

I just get a CellsException “Shape to image Error” when using the following code:

ConversionConfig config = new ConversionConfig();
config.StoragePath = StoragePath;

string svg = Path.GetFileNameWithoutExtension(fileName) + “.svg”;

ConversionHandler conversionHandler = new ConversionHandler(config);
var saveOptions = new ImageSaveOptions
ConvertFileType = ImageSaveOptions.ImageFileType.Svg,

GroupDocs.Conversion.Handler.ConvertedDocument convertedDocPath = conversionHandler.Convert(fileName, saveOptions);

for (int pagenum = 1; pagenum <= convertedDocPath.PageCount; pagenum++)
//throws exception here
convertedDocPath.Save(“exceldoc-” + Path.GetFileNameWithoutExtension(fileName) + “_” + pagenum + “.svg”, pagenum);



Thank you for taking interest in GroupDocs.Conversion for .NET and posting your concerns.
This issue is reproduced at our end as well. Hence, it has been logged in our internal issue tracking system with ID:CONVERSIONNET-2713.
We shall further investigate it. Once we have any update, you shall be notified.

Are there any suggested workarounds? I tested older versions and it seems to be an issue with most of the 18.x.x


This issue will be resolved in upcoming release of the API (18.9). As release gets on-board, we shall notify you.


We are pleased to inform you that your reported issue CONVERSIONNET-2713 is resolved in GroupDocs.Conversion for .NET 18.9. Please download the latest release and share your feedback.