SaveFormat
XlsxSaveOptions.SaveFormat property
Specifies the format in which the document will be saved if this save options object is used. Can only be Xlsx.
public override SaveFormat SaveFormat { get; set; }
Examples
Shows how to compress XLSX document.
Document doc = new Document(MyDir + "Shape with linked chart.docx");
XlsxSaveOptions xlsxSaveOptions = new XlsxSaveOptions();
xlsxSaveOptions.CompressionLevel = CompressionLevel.Maximum;
xlsxSaveOptions.SaveFormat = SaveFormat.Xlsx;
doc.Save(ArtifactsDir + "XlsxSaveOptions.CompressXlsx.xlsx", xlsxSaveOptions);
See Also
- enum SaveFormat
- class XlsxSaveOptions
- namespace Aspose.Words.Saving
- assembly Aspose.Words