Class SaveOptions
Namespace: Aspose.Cells
Assembly: Aspose.Cells.dll (25.2.0)
Represents all save options
public class SaveOptions
Inheritance
Derived
DbfSaveOptions, DifSaveOptions, HtmlSaveOptions, ImageSaveOptions, JsonSaveOptions, MarkdownSaveOptions, OdsSaveOptions, OoxmlSaveOptions, PaginatedSaveOptions, SpreadsheetML2003SaveOptions, SqlScriptSaveOptions, TxtSaveOptions, XlsSaveOptions, XlsbSaveOptions, XmlSaveOptions
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Fields
m_SaveFormat
protected SaveFormat m_SaveFormat
Field Value
Properties
CachedFileFolder
The cached file folder is used to store some large data.
public string CachedFileFolder { get; set; }
Property Value
CheckExcelRestriction
Whether check restriction of excel file when user modify cells related objects. For example, excel does not allow inputting string value longer than 32K. When you input a value longer than 32K, it will be truncated.
public bool CheckExcelRestriction { get; set; }
Property Value
ClearData
Make the workbook empty after saving the file.
public bool ClearData { get; set; }
Property Value
CreateDirectory
If true and the directory does not exist, the directory will be automatically created before saving the file.
public bool CreateDirectory { get; set; }
Property Value
Remarks
The default value is false.
EncryptDocumentProperties
Indicates whether encrypt document properties when saving as .xls file. The default value is true.
public bool EncryptDocumentProperties { get; set; }
Property Value
Remarks
Only for .xls,xlsx,xlsb and xlsm file.
MergeAreas
Indicates whether merge the areas of conditional formatting and validation before saving the file.
public bool MergeAreas { get; set; }
Property Value
Remarks
The default value is false.
RefreshChartCache
Indicates whether refreshing chart cache data
public bool RefreshChartCache { get; set; }
Property Value
SaveFormat
Gets the save file format.
public SaveFormat SaveFormat { get; }
Property Value
SortExternalNames
Indicates whether sorting external defined names before saving file.
public bool SortExternalNames { get; set; }
Property Value
SortNames
Indicates whether sorting defined names before saving file.
public bool SortNames { get; set; }
Property Value
UpdateSmartArt
Indicates whether updating smart art setting. The default value is false.
public bool UpdateSmartArt { get; set; }
Property Value
Remarks
Only effects after calling Shape.GetResultOfSmartArt() method and the cached shapes exist in the template file.
ValidateMergedAreas
Indicates whether validate merged cells before saving the file.
public bool ValidateMergedAreas { get; set; }
Property Value
Remarks
The default value is false.
WarningCallback
Gets or sets warning callback.
public IWarningCallback WarningCallback { get; set; }