XpsSaveOptions Class
Represents the additional options when saving the file as the Xps.
Inheritance Hierarchy

Namespace: Aspose.Cells
Assembly: Aspose.Cells (in Aspose.Cells.dll) Version: 19.10.0.0 (19.10)
Syntax
public class XpsSaveOptions : SaveOptions

The XpsSaveOptions type exposes the following members.

Constructors
  NameDescription
Public methodXpsSaveOptions
Creates options for saving xps file.
Public methodXpsSaveOptions(SaveFormat)
Creates options for saving xps file.
Properties
  NameDescription
Public propertyCachedFileFolder
The cached file folder is used to store some large data.
(Inherited from SaveOptions.)
Public propertyClearData
Make the workbook empty after saving the file.
(Inherited from SaveOptions.)
Public propertyCreateDirectory
If true and the directory does not exist, the directory will be automatically created before saving the file.
(Inherited from SaveOptions.)
Public propertyEnableHTTPCompression
Indicates if http compression is to be used in user's IIS.
(Inherited from SaveOptions.)
Public propertyMergeAreas
Indicates whether merge the areas of conditional formatting and validation before saving the file.
(Inherited from SaveOptions.)
Public propertyOnePagePerSheet
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.
Public propertyPageCount
Gets or sets the number of pages to save.
Public propertyPageIndex
Gets or sets the 0-based index of the first page to save.
Public propertyPdfExportImagesFolder
The physical folder where images will be saved when exporting a workbook to Aspose.Pdf XML format. Default is an empty string.
(Inherited from SaveOptions.)
Public propertyRefreshChartCache
Indicates whether refreshing chart cache data
(Inherited from SaveOptions.)
Public propertySaveFormat
Gets the save file format.
(Inherited from SaveOptions.)
Public propertySortNames
Indicates whether sorting defined names before saving file.
(Inherited from SaveOptions.)
Public propertyValidateMergedAreas
Indicates whether validate merged cells before saving the file.
(Inherited from SaveOptions.)
Public propertyWarningCallback
Gets or sets warning callback.
(Inherited from SaveOptions.)
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Fields
  NameDescription
Protected fieldm_SaveFormat (Inherited from SaveOptions.)
See Also