Compression

Is there any way to ask the Cells component to compress the excel (=ask the excel in that sense to compress itself?)

We get a huge Excel file (xls) that however mostly contains empty columns --> shouldnt it compress that?

Hi,

Well, Aspose.Cells for .NET does not provide any direct way or API for compression. But I think you may try to save your excel file to MS Excel 2007 xlsx file format, it will be a compressed file.
Also for “We get a huge Excel file (xls) that however mostly contains empty columns --> shouldnt it compress that?”. I think you may call Cells.DeleteBlankColumns() to remove the empty columns before saving the file if it fits your need.


Thank you.