SvgSaveOptions

SvgSaveOptions class

Represents Svg save options. For advanced usage, please use WorkbookRender or SheetRender .

Constructors

NameDescription
SvgSaveOptionsCreates the options for saving svg file. NOTE: This class is now obsolete. Instead, please use ImageSaveOptions class. T
SvgSaveOptionsCreates the options for saving svg file. NOTE: This constructor is now obsolete. Instead, please use SvgSaveOptions() co

Properties

NameTypeDescription
SheetIndexintGets and sets which worksheet should be exported. If the value is -1, the active worksheet will be exported. NOTE: This
ImageOrPrintOptionsImageOrPrintOptionsAdditional image creation options. For advanced usage, please use WorkbookRender or SheetRender .
StreamProviderIStreamProviderGets or sets the IStreamProvider for exporting objects. If saving as Tiff, this property is ignored. Otherwise, if more
SaveFormatintGets the save file format. The value of the property is SaveFormat integer constant.
ClearDatabooleanMake the workbook empty after saving the file.
CachedFileFolderStringThe cached file folder is used to store some large data.
ValidateMergedAreasbooleanIndicates whether validate merged cells before saving the file. The default value is false.
MergeAreasbooleanIndicates whether merge the areas of conditional formatting and validation before saving the file. The default value is
CreateDirectorybooleanIf true and the directory does not exist, the directory will be automatically created before saving the file. The defaul
SortNamesbooleanIndicates whether sorting defined names before saving file.
SortExternalNamesbooleanIndicates whether sorting external defined names before saving file.
RefreshChartCachebooleanIndicates whether refreshing chart cache data
CheckExcelRestrictionboolean
UpdateSmartArtbooleanIndicates whether updating smart art setting. The default value is false. Only effects after calling Shape.GetResultOfSm
EncryptDocumentPropertiesboolean

SvgSaveOptions() (1 of 2)

Creates the options for saving svg file. NOTE: This class is now obsolete. Instead, please use ImageSaveOptions class. This property will be removed 12 months later since March 2023. Aspose apologizes for any inconvenience you may have experienced.


SvgSaveOptions(saveFormat) (2 of 2)

Creates the options for saving svg file. NOTE: This constructor is now obsolete. Instead, please use SvgSaveOptions() constructor. This property will be removed 12 months later since August 2022. Aspose apologizes for any inconvenience you may have experienced.

ParameterTypeDescription
saveFormatintA SaveFormat value. The file format. It must be svg.

SvgSaveOptions.SheetIndex property

Gets and sets which worksheet should be exported. If the value is -1, the active worksheet will be exported. NOTE: This class is now obsolete. Instead, please use ImageSaveOptions class. This property will be removed 12 months later since March 2023. Aspose apologizes for any inconvenience you may have experienced.

Type: int

SvgSaveOptions.ImageOrPrintOptions property

Additional image creation options. For advanced usage, please use WorkbookRender or SheetRender .

Type: ImageOrPrintOptions

SvgSaveOptions.StreamProvider property

Gets or sets the IStreamProvider for exporting objects. If saving as Tiff, this property is ignored. Otherwise, if more than one image should be saving, we will write other images by this. For advanced usage, please use WorkbookRender or SheetRender .

Type: IStreamProvider

SvgSaveOptions.SaveFormat property

Gets the save file format. The value of the property is SaveFormat integer constant.

Type: int

SvgSaveOptions.ClearData property

Make the workbook empty after saving the file.

Type: boolean

SvgSaveOptions.CachedFileFolder property

The cached file folder is used to store some large data.

Type: String

SvgSaveOptions.ValidateMergedAreas property

Indicates whether validate merged cells before saving the file. The default value is false.

Type: boolean

SvgSaveOptions.MergeAreas property

Indicates whether merge the areas of conditional formatting and validation before saving the file. The default value is false.

Type: boolean

SvgSaveOptions.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

SvgSaveOptions.SortNames property

Indicates whether sorting defined names before saving file.

Type: boolean

SvgSaveOptions.SortExternalNames property

Indicates whether sorting external defined names before saving file.

Type: boolean

SvgSaveOptions.RefreshChartCache property

Indicates whether refreshing chart cache data

Type: boolean

SvgSaveOptions.CheckExcelRestriction property

Type: boolean

SvgSaveOptions.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

SvgSaveOptions.EncryptDocumentProperties property

Type: boolean