compressionLevel property
XlsxSaveOptions.compressionLevel property
Specifies the compression level used to save document. The default value is CompressionLevel.Normal.
get compressionLevel(): Aspose.Words.Saving.CompressionLevel
Examples
Shows how to compress XLSX document.
let doc = new aw.Document(base.myDir + "Shape with linked chart.docx");
let xlsxSaveOptions = new aw.Saving.XlsxSaveOptions();
xlsxSaveOptions.compressionLevel = aw.Saving.CompressionLevel.Maximum;
xlsxSaveOptions.saveFormat = aw.SaveFormat.Xlsx;
doc.save(base.artifactsDir + "XlsxSaveOptions.CompressXlsx.xlsx", xlsxSaveOptions);
See Also
- module Aspose.Words.Saving
- class XlsxSaveOptions