Class OoxmlSaveOptions

OoxmlSaveOptions class

Represents the options of saving office open xml file.

public class OoxmlSaveOptions : SaveOptions

Constructors

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

Properties

NameDescription
CachedFileFolder { get; set; }The cached file folder is used to store some large data.(Inherited from SaveOptions.)
ClearData { get; set; }Make the workbook empty after saving the file.(Inherited from SaveOptions.)
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.(Inherited from SaveOptions.)
EmbedOoxmlAsOleObject { get; set; }Indicates whether embedding Ooxml files of OleObject as ole object.
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 for saving workbook in light mode.
MergeAreas { get; set; }Indicates whether merge the areas of conditional formatting and validation before saving the file.(Inherited from SaveOptions.)
RefreshChartCache { get; set; }Indicates whether refreshing chart cache data(Inherited from SaveOptions.)
SaveFormat { get; }Gets the save file format.(Inherited from SaveOptions.)
SortExternalNames { get; set; }Indicates whether sorting external defined names before saving file.(Inherited from SaveOptions.)
SortNames { get; set; }Indicates whether sorting defined names before saving file.(Inherited from SaveOptions.)
UpdateSmartArt { get; set; }Indicates whether updating smart art setting. The default value is false.(Inherited from SaveOptions.)
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.(Inherited from SaveOptions.)
WarningCallback { get; set; }Gets or sets warning callback.(Inherited from SaveOptions.)

See Also