new XpsSaveOptions()

Creates options for saving xps file.

Methods

constructor_overload$1(saveFormat)

Creates options for saving xps file.

Parameter

Name Type Optional Description

saveFormat

Number

 

SaveFormat

getCachedFileFolder()

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

getClearData()

Make the workbook empty after saving the file.

getCreateDirectory()

If true and the directory does not exist, the directory will be automatically created before saving the file. The default value is false.

getEnableHTTPCompression()

Indicates if http compression is to be used in user's IIS. Please specify this property to true if http compression is used.

getMergeAreas()

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

getOnePagePerSheet()

If OnePagePerSheet is true , all content of one sheet will output to only one page in result. The paper size of pagesetup will be invalid, and the other settings of pagesetup will still take effect.

getPageCount()

Gets or sets the number of pages to save. Default is System.Int32.MaxValue which means all pages will be rendered..

getPageIndex()

Gets or sets the 0-based index of the first page to save. Default is 0.

getPdfExportImagesFolder()

The physical folder where images will be saved when exporting a workbook to Aspose.Pdf XML format. Default is an empty string.

getRefreshChartCache()

Indicates whether refreshing chart cache data

getSaveFormat()

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

getSortExternalNames()

Indicates whether sorting external defined names before saving file.

getSortNames()

Indicates whether sorting defined names before saving file.

getUpdateSmartArt()

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.

getValidateMergedAreas()

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

setCachedFileFolder()

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

setClearData()

Make the workbook empty after saving the file.

setCreateDirectory()

If true and the directory does not exist, the directory will be automatically created before saving the file. The default value is false.

setEnableHTTPCompression()

Indicates if http compression is to be used in user's IIS. Please specify this property to true if http compression is used.

setMergeAreas()

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

setOnePagePerSheet()

If OnePagePerSheet is true , all content of one sheet will output to only one page in result. The paper size of pagesetup will be invalid, and the other settings of pagesetup will still take effect.

setPageCount()

Gets or sets the number of pages to save. Default is System.Int32.MaxValue which means all pages will be rendered..

setPageIndex()

Gets or sets the 0-based index of the first page to save. Default is 0.

setPdfExportImagesFolder()

The physical folder where images will be saved when exporting a workbook to Aspose.Pdf XML format. Default is an empty string.

setRefreshChartCache()

Indicates whether refreshing chart cache data

setSortExternalNames()

Indicates whether sorting external defined names before saving file.

setSortNames()

Indicates whether sorting defined names before saving file.

setUpdateSmartArt()

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.

setValidateMergedAreas()

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