XpsSaveOptions class

Represents the additional options when saving the file as the Xps.

public class XpsSaveOptions : SaveOptions


Name Description
XpsSaveOptions() Creates options for saving xps file.
XpsSaveOptions(SaveFormat) Creates options for saving xps file.


Name Description
CachedFileFolder { get; set; } The cached file folder is used to store some large data.
ClearData { get; set; } Make the workbook empty after saving the file.
CreateDirectory { get; set; } If true and the directory does not exist, the directory will be automatically created before saving the file.
EnableHTTPCompression { get; set; } Indicates if http compression is to be used in user’s IIS.
MergeAreas { get; set; } Indicates whether merge the areas of conditional formatting and validation before saving the file.
OnePagePerSheet { get; set; } 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.
PageCount { get; set; } Gets or sets the number of pages to save.
PageIndex { get; set; } Gets or sets the 0-based index of the first page to save.
PdfExportImagesFolder { get; set; } The physical folder where images will be saved when exporting a workbook to Aspose.Pdf XML format. Default is an empty string.
RefreshChartCache { get; set; } Indicates whether refreshing chart cache data
SaveFormat { get; } Gets the save file format.
SortExternalNames { get; set; } Indicates whether sorting external defined names before saving file.
SortNames { get; set; } Indicates whether sorting defined names before saving file.
UpdateSmartArt { get; set; } Indicates whether updating smart art setting. The default value is false.
ValidateMergedAreas { get; set; } Indicates whether validate merged cells before saving the file.
WarningCallback { get; set; } Gets or sets warning callback.

See Also