Table of Contents

TFlexCelConfig.XlsxCompressionLevel Property

Zip compression level when creating xlsx files. This setting is the same as TExcelFile.XlsxCompressionLevel. Xlsx files are zip files, and you can compress more or less by trading speed for file size. The faster you can create the file, the bigger the xlsx files created will be. Excel by default uses "Fastest" compression level and we use "Default". Normally using compression levels more than default is not worth it, since the files will take a lot longer to be created, and the size reduction will be very small.

Remarks

Requires .NET 4.5 or newer. In older .NET versions it has no effect and compression is always default.

Syntax

Unit: FlexCel.Core

property TFlexCelConfig.XlsxCompressionLevel: TCompressionLevel

See also