When saving workbook as SVG, the row height in the SVG file is not rendered correctly. I have varying row sizes but there are several rows where the row height in the worksheet is set to 35. The SVG shrinks these rows to fit the text.
In another row, the text is set to vertical or 90 degrees with wrapping. The row height is set to 120 and when the SVG is rendered, the text is not wrapped as in the worksheet and the row height is expanded to height of longest text.
Rendering to bitmap or Jpeg is correct but the file size is too large for inserting into Powerpoint. The bitmap created is over 2 MB and I am inserting 30 or 40 images to the presentation resulting in the presentation too large to email. The save as SVG results in a file that is 33 KB.
autoFitter = new AutoFitterOptions();
autFillter IgnoreHidden = true;
SvgSaveOptions svgOptions = new SvgSaveOptions;
svgOptions.ImageOrPrintOptions.OnePagePerSheet = true;
svgOptions.ImageOrPrintOptions.SaveFormat = SaveFormat.SVG
svgOptions.ImageOrPrintOptions…EmfType = EmfType.EmfPlus;
workbook.Save(svgOutFile, svgOptions);
I have also tried
workbook.Save(svgOutFile, SaveFormat.SVG);
Both save options results in Row Height begin adjusted to text height.