OoxmlSaveOptions class

Represents the options of saving office open xml file.

public class OoxmlSaveOptions : SaveOptions


Name Description
OoxmlSaveOptions() Creates the options for saving office open xml file.
OoxmlSaveOptions(SaveFormat) Creates the options for saving office open xml file.


Name Description
CachedFileFolder { get; set; } The cached file folder is used to store some large data.
ClearData { get; set; } Make the workbook empty after saving the file.
CompressionType { get; set; } Gets and sets the compression type for ooxml file.
CreateDirectory { get; set; } If true and the directory does not exist, the directory will be automatically created before saving the file.
EmbedOoxmlAsOleObject { get; set; } Indicates whether embedding Ooxml files of OleObject as ole object.
EnableHTTPCompression { get; set; } Indicates if http compression is to be used in user’s IIS.
EnableZip64 { get; set; } Always use ZIP64 extensions when writing zip archives, even when unnecessary.
ExportCellName { get; set; } Indicates if export cell name to Excel2007 .xlsx (.xlsm, .xltx, .xltm) file. If the output file may be accessed by SQL Server DTS, this value must be true. Setting the value to false will highly increase the performance and reduce the file size when creating large file. Default value is true.
LightCellsDataProvider { get; set; } The Data provider to provide cells data for saving workbook in light mode.
MergeAreas { get; set; } Indicates whether merge the areas of conditional formatting and validation before saving the file.
PdfExportImagesFolder { get; set; } The physical folder where images will be saved when exporting a workbook to Aspose.Pdf XML format. Default is an empty string.
RefreshChartCache { get; set; } Indicates whether refreshing chart cache data
SaveFormat { get; } Gets the save file format.
SortExternalNames { get; set; } Indicates whether sorting external defined names before saving file.
SortNames { get; set; } Indicates whether sorting defined names before saving file.
UpdateSmartArt { get; set; } Indicates whether updating smart art setting. The default value is false.
UpdateZoom { get; set; } Indicates whether update scaling factor before saving the file if the PageSetup.FitToPagesWide and PageSetup.FitToPagesTall properties control how the worksheet is scaled.
ValidateMergedAreas { get; set; } Indicates whether validate merged cells before saving the file.
WarningCallback { get; set; } Gets or sets warning callback.

See Also