XpsSaveOptions Class

XpsSaveOptions class

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


type XpsSaveOptions struct  {
	ptr unsafe.Pointer
}

Constructors

MethodDescription
NewXpsSaveOptionsCreates options for saving xps file.
NewXpsSaveOptions_PaginatedSaveOptionsConstructs from a parent object.

Methods

MethodDescription
IsNullChecks whether the implementation object is nullptr.
GetDefaultFontWhen characters in the Excel are Unicode and not be set with correct font in cell style,They may appear as block in pdf,image.Set the DefaultFont such as MingLiu or MS Gothic to show these characters.If this property is not set, Aspose.Cells will use system default font to show these unicode characters.
SetDefaultFontWhen characters in the Excel are Unicode and not be set with correct font in cell style,They may appear as block in pdf,image.Set the DefaultFont such as MingLiu or MS Gothic to show these characters.If this property is not set, Aspose.Cells will use system default font to show these unicode characters.
GetCheckWorkbookDefaultFontWhen characters in the Excel are Unicode and not be set with correct font in cell style,They may appear as block in pdf,image.Set this to true to try to use workbook’s default font to show these characters first.
SetCheckWorkbookDefaultFontWhen characters in the Excel are Unicode and not be set with correct font in cell style,They may appear as block in pdf,image.Set this to true to try to use workbook’s default font to show these characters first.
SetCheckFontCompatibilityIndicates whether to check font compatibility for every character in text.
GetCheckFontCompatibilityIndicates whether to check font compatibility for every character in text.
SetIsFontSubstitutionCharGranularityIndicates whether to only substitute the font of character when the cell font is not compatibility for it.
IsFontSubstitutionCharGranularityIndicates whether to only substitute the font of character when the cell font is not compatibility for it.
GetOnePagePerSheetIf 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 pagesetupwill still take effect.
SetOnePagePerSheetIf 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 pagesetupwill still take effect.
GetAllColumnsInOnePagePerSheetIf AllColumnsInOnePagePerSheet is true , all column content of one sheet will output to only one page in result.The width of paper size of pagesetup will be ignored, and the other settings of pagesetupwill still take effect.
SetAllColumnsInOnePagePerSheetIf AllColumnsInOnePagePerSheet is true , all column content of one sheet will output to only one page in result.The width of paper size of pagesetup will be ignored, and the other settings of pagesetupwill still take effect.
GetIgnoreErrorIndicates if you need to hide the error while rendering.The error can be error in shape, image, chart rendering, etc.
SetIgnoreErrorIndicates if you need to hide the error while rendering.The error can be error in shape, image, chart rendering, etc.
GetOutputBlankPageWhenNothingToPrintIndicates whether to output a blank page when there is nothing to print.
SetOutputBlankPageWhenNothingToPrintIndicates whether to output a blank page when there is nothing to print.
SetPageIndexGets or sets the 0-based index of the first page to save.
GetPageIndexGets or sets the 0-based index of the first page to save.
SetPageCountGets or sets the number of pages to save.
GetPageCountGets or sets the number of pages to save.
GetPrintingPageTypeIndicates which pages will not be printed.
SetPrintingPageTypeIndicates which pages will not be printed.
GetGridlineTypeGets or sets gridline type.
SetGridlineTypeGets or sets gridline type.
GetTextCrossTypeGets or sets displaying text type when the text width is larger than cell width.
SetTextCrossTypeGets or sets displaying text type when the text width is larger than cell width.
GetDefaultEditLanguageGets or sets default edit language.
SetDefaultEditLanguageGets or sets default edit language.
GetSheetSetGets or sets the sheets to render. Default is all visible sheets in the workbook: .
SetSheetSetGets or sets the sheets to render. Default is all visible sheets in the workbook: .
GetDrawObjectEventHandlerImplements this interface to get DrawObject and Bound when rendering.
SetDrawObjectEventHandlerImplements this interface to get DrawObject and Bound when rendering.
GetEmfRenderSettingSetting for rendering Emf metafile.
SetEmfRenderSettingSetting for rendering Emf metafile.