SaveOptions
SaveOptions class
Represents all save options
Properties
| Name | Type | Description |
|---|---|---|
| SaveFormat | Number | Gets the save file format. The value of the property is SaveFormat integer constant. |
| ClearData | boolean | Make the workbook empty after saving the file. |
| CachedFileFolder | String | The cached file folder is used to store some large data. |
| ValidateMergedAreas | boolean | Indicates whether validate merged cells before saving the file. The default value is false. |
| MergeAreas | boolean | Indicates whether merge the areas of conditional formatting and validation before saving the file. The default value is |
| CreateDirectory | boolean | If true and the directory does not exist, the directory will be automatically created before saving the file. The defaul |
| SortNames | boolean | Indicates whether sorting defined names before saving file. |
| SortExternalNames | boolean | Indicates whether sorting external defined names before saving file. |
| RefreshChartCache | boolean | Indicates whether refreshing chart cache data |
| CheckExcelRestriction | boolean | |
| UpdateSmartArt | boolean | Indicates whether updating smart art setting. The default value is false. Only effects after calling Shape.GetResultOfSm |
| EncryptDocumentProperties | boolean |
SaveOptions.SaveFormat property
Gets the save file format. The value of the property is SaveFormat integer constant.
Type: Number
SaveOptions.ClearData property
Make the workbook empty after saving the file.
Type: boolean
SaveOptions.CachedFileFolder property
The cached file folder is used to store some large data.
Type: String
SaveOptions.ValidateMergedAreas property
Indicates whether validate merged cells before saving the file. The default value is false.
Type: boolean
SaveOptions.MergeAreas property
Indicates whether merge the areas of conditional formatting and validation before saving the file. The default value is false.
Type: boolean
SaveOptions.CreateDirectory property
If true and the directory does not exist, the directory will be automatically created before saving the file. The default value is false.
Type: boolean
SaveOptions.SortNames property
Indicates whether sorting defined names before saving file.
Type: boolean
SaveOptions.SortExternalNames property
Indicates whether sorting external defined names before saving file.
Type: boolean
SaveOptions.RefreshChartCache property
Indicates whether refreshing chart cache data
Type: boolean
SaveOptions.CheckExcelRestriction property
Type: boolean
SaveOptions.UpdateSmartArt property
Indicates whether updating smart art setting. The default value is false. Only effects after calling Shape.GetResultOfSmartArt() method and the cached shapes exist in the template file.
Type: boolean
SaveOptions.EncryptDocumentProperties property
Type: boolean