I updated to Cells 6.0.0.3, after being on 5.3.3.3
I used to be able to export a sheet to EMF via the following code:
Aspose.Cells.Rendering.ImageOrPrintOptions iopo = new Aspose.Cells.Rendering.ImageOrPrintOptions(); iopo.ImageFormat = ImageFormat.Emf; iopo.OnePagePerSheet = false; iopo.PrintingPage = Aspose.Cells.PrintingPageType.IgnoreBlank;
Aspose.Cells.Rendering.SheetRender sr = new Aspose.Cells.Rendering.SheetRender(ws, iopo);
sr.ToImage(iC, fileName);
ws being a worksheet in a loop.
The output used to be a valid EMF file,
where the 6.0.0.3 output is an invalid file that cannot be loaded or opened by any viewer application.