Save Workbook to Strict Open XML Spreadsheet Format

Possible Usage Scenarios

Aspose.Cells allows you to save the workbook in Strict Open XML Spreadsheet format. For that purpose, it provides the Workbook.Settings.Compliance property. If you set its value as OoxmlCompliance.ISO_29500_2008_STRICT, then the output Excel file will be saved in Strict Open XML Spreadsheet format.

Save Workbook to Strict Open XML Spreadsheet Format

The following sample code creates a workbook and sets the value of the Workbook.Settings.Compliance property as OoxmlCompliance.ISO_29500_2008_STRICT and saves it as output Excel file. If you open the output Excel file in Microsoft Excel and open the Save As… dialog box, you will see its format as Strict Open XML Spreadsheet as shown in this screenshot.

todo:image_alt_text

Sample Code