saveFormat property
XlsxSaveOptions.saveFormat property
Specifies the format in which the document will be saved if this save options object is used. Can only be SaveFormat.Xlsx.
get saveFormat(): Aspose.Words.SaveFormat
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