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);
}