PptxSaveOptions
PptxSaveOptions class
Represents the pptx save options.
Constructors
| Name | Description |
|---|---|
| PptxSaveOptions | Represents the pptx save options. |
| PptxSaveOptions | Represents options of saving .pptx file. |
Properties
| Name | Type | Description |
|---|---|---|
| IgnoreHiddenRows | boolean | Inidicates whether ignoring hidden rows when converting Excel to PowerPoint. |
| SaveAsEditableShapes | boolean | |
| EmbedXlsxAsChartDataSource | boolean | |
| AdjustFontSizeForRowType | int | Represents what type of line needs to be adjusted size of font if height of row is small. The value of the property is A |
| ExportViewType | int | Gets and sets the display type when exporting to PowerPoint. The default exporting type is working as printing. The valu |
| AsFlatOpc | boolean | |
| DefaultFont | String | When characters in the Excel are Unicode and not be set with correct font in cell style, They may appear as block in pdf |
| CheckWorkbookDefaultFont | boolean | When characters in the Excel are Unicode and not be set with correct font in cell style, They may appear as block in pdf |
| CheckFontCompatibility | boolean | Indicates whether to check font compatibility for every character in text. The default value is true. Disable this prope |
| IsFontSubstitutionCharGranularity | boolean | Indicates whether to only substitute the font of character when the cell font is not compatibility for it. Default is fa |
| OnePagePerSheet | boolean | If OnePagePerSheet is true , all content of one sheet will output to only one page in result. The paper size of pagesetu |
| AllColumnsInOnePagePerSheet | boolean | If AllColumnsInOnePagePerSheet is true , all column content of one sheet will output to only one page in result. The wid |
| IgnoreError | boolean | Indicates if you need to hide the error while rendering. The error can be error in shape, image, chart rendering, etc. |
| OutputBlankPageWhenNothingToPrint | boolean | Indicates whether to output a blank page when there is nothing to print. Default is true. |
| PageIndex | int | Gets or sets the 0-based index of the first page to save. Default is 0. |
| PageCount | int | Gets or sets the number of pages to save. Default is System.Int32.MaxValue which means all pages will be rendered.. |
| PrintingPageType | int | Indicates which pages will not be printed. The value of the property is PrintingPageType integer constant. If content in |
| GridlineType | int | Gets or sets gridline type. The value of the property is GridlineType integer constant. Default is Dotted type. |
| GridlineColor | Color | |
| TextCrossType | int | Gets or sets displaying text type when the text width is larger than cell width. The value of the property is TextCrossT |
| DefaultEditLanguage | int | Gets or sets default edit language. The value of the property is DefaultEditLanguage integer constant. It may display/re |
| SheetSet | SheetSet | Gets or sets the sheets to render. Default is all visible sheets in the workbook: SheetSet.Visible . |
| DrawObjectEventHandler | DrawObjectEventHandler | Implements this interface to get DrawObject and Bound when rendering. |
| PageSavingCallback | IPageSavingCallback | Control/Indicate progress of page saving process. |
| EmfRenderSetting | int | Setting for rendering Emf metafile. The value of the property is EmfRenderSetting integer constant. EMF metafiles identi |
| CustomRenderSettings | CustomRenderSettings | |
| SaveFormat | int | Gets the save file format. The value of the property is SaveFormat integer constant. |
| ClearData | boolean | Make the workbook empty after saving the file. |
| CachedFileFolder | String | The cached file folder is used to store some large data. |
| ValidateMergedAreas | boolean | Indicates whether validate merged cells before saving the file. The default value is false. |
| MergeAreas | boolean | Indicates whether merge the areas of conditional formatting and validation before saving the file. The default value is |
| CreateDirectory | boolean | If true and the directory does not exist, the directory will be automatically created before saving the file. The defaul |
| SortNames | boolean | Indicates whether sorting defined names before saving file. |
| SortExternalNames | boolean | Indicates whether sorting external defined names before saving file. |
| RefreshChartCache | boolean | Indicates whether refreshing chart cache data |
| WarningCallback | IWarningCallback | Gets or sets warning callback. |
| CheckExcelRestriction | boolean | |
| UpdateSmartArt | boolean | Indicates whether updating smart art setting. The default value is false. Only effects after calling Shape.GetResultOfSm |
| EncryptDocumentProperties | boolean |
PptxSaveOptions() (1 of 2)
Represents the pptx save options.
PptxSaveOptions(saveAsImage) (2 of 2)
Represents options of saving .pptx file.
| Parameter | Type | Description |
|---|---|---|
| saveAsImage | boolean | If True, the workbook will be converted into some pictures of .pptx file. If False, the workbook will be converted into some tables of .pptx file. |
PptxSaveOptions.IgnoreHiddenRows property
Inidicates whether ignoring hidden rows when converting Excel to PowerPoint.
Type: boolean
PptxSaveOptions.SaveAsEditableShapes property
Type: boolean
PptxSaveOptions.EmbedXlsxAsChartDataSource property
Type: boolean
PptxSaveOptions.AdjustFontSizeForRowType property
Represents what type of line needs to be adjusted size of font if height of row is small. The value of the property is AdjustFontSizeForRowType integer constant.
Type: int
PptxSaveOptions.ExportViewType property
Gets and sets the display type when exporting to PowerPoint. The default exporting type is working as printing. The value of the property is SlideViewType integer constant.
Type: int
PptxSaveOptions.AsFlatOpc property
Type: boolean
PptxSaveOptions.DefaultFont property
When 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.
Type: String
PptxSaveOptions.CheckWorkbookDefaultFont property
When 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. Default is true.
Type: boolean
PptxSaveOptions.CheckFontCompatibility property
Indicates whether to check font compatibility for every character in text. The default value is true. Disable this property may give better performance. But when the default or specified font of text/character cannot be used to render it, unreadable characters(such as block) maybe occur in the generated pdf. For such situation user should keep this property as true so that alternative font can be searched and used to render the text instead;
Type: boolean
PptxSaveOptions.IsFontSubstitutionCharGranularity property
Indicates whether to only substitute the font of character when the cell font is not compatibility for it. Default is false. We will try default font of Workbook and PdfSaveOption/system for cell font first.
Type: boolean
PptxSaveOptions.OnePagePerSheet property
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.
Type: boolean
PptxSaveOptions.AllColumnsInOnePagePerSheet property
If 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 pagesetup will still take effect.
Type: boolean
PptxSaveOptions.IgnoreError property
Indicates if you need to hide the error while rendering. The error can be error in shape, image, chart rendering, etc.
Type: boolean
PptxSaveOptions.OutputBlankPageWhenNothingToPrint property
Indicates whether to output a blank page when there is nothing to print. Default is true.
Type: boolean
PptxSaveOptions.PageIndex property
Gets or sets the 0-based index of the first page to save. Default is 0.
Type: int
PptxSaveOptions.PageCount property
Gets or sets the number of pages to save. Default is System.Int32.MaxValue which means all pages will be rendered..
Type: int
PptxSaveOptions.PrintingPageType property
Indicates which pages will not be printed. The value of the property is PrintingPageType integer constant. If content in the sheet is sparse, there will be some pages are totally blank in the output pdf file. If you don’t want these blank pages, you can use this option to omit them.
Type: int
PptxSaveOptions.GridlineType property
Gets or sets gridline type. The value of the property is GridlineType integer constant. Default is Dotted type.
Type: int
PptxSaveOptions.GridlineColor property
Type: Color
PptxSaveOptions.TextCrossType property
Gets or sets displaying text type when the text width is larger than cell width. The value of the property is TextCrossType integer constant.
Type: int
PptxSaveOptions.DefaultEditLanguage property
Gets or sets default edit language. The value of the property is DefaultEditLanguage integer constant. It may display/render different layouts for text paragraph when different edit languages is set. Default is DefaultEditLanguage.AUTO .
Type: int
PptxSaveOptions.SheetSet property
Gets or sets the sheets to render. Default is all visible sheets in the workbook: SheetSet.Visible .
Type: SheetSet
PptxSaveOptions.DrawObjectEventHandler property
Implements this interface to get DrawObject and Bound when rendering.
Type: DrawObjectEventHandler
PptxSaveOptions.PageSavingCallback property
Control/Indicate progress of page saving process.
Type: IPageSavingCallback
PptxSaveOptions.EmfRenderSetting property
Setting for rendering Emf metafile. The value of the property is EmfRenderSetting integer constant. EMF metafiles identified as “EMF+ Dual” can contain both EMF+ records and EMF records. Either type of record can be used to render the image, only EMF+ records, or only EMF records. When EmfRenderSetting.EMF_PLUS_PREFER is set, then EMF+ records will be parsed while rendering to page, otherwise only EMF records will be parsed. Default value is EmfRenderSetting.EMF_ONLY .
Type: int
PptxSaveOptions.CustomRenderSettings property
Type: CustomRenderSettings
PptxSaveOptions.SaveFormat property
Gets the save file format. The value of the property is SaveFormat integer constant.
Type: int
PptxSaveOptions.ClearData property
Make the workbook empty after saving the file.
Type: boolean
PptxSaveOptions.CachedFileFolder property
The cached file folder is used to store some large data.
Type: String
PptxSaveOptions.ValidateMergedAreas property
Indicates whether validate merged cells before saving the file. The default value is false.
Type: boolean
PptxSaveOptions.MergeAreas property
Indicates whether merge the areas of conditional formatting and validation before saving the file. The default value is false.
Type: boolean
PptxSaveOptions.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
PptxSaveOptions.SortNames property
Indicates whether sorting defined names before saving file.
Type: boolean
PptxSaveOptions.SortExternalNames property
Indicates whether sorting external defined names before saving file.
Type: boolean
PptxSaveOptions.RefreshChartCache property
Indicates whether refreshing chart cache data
Type: boolean
PptxSaveOptions.WarningCallback property
Gets or sets warning callback.
Type: IWarningCallback
PptxSaveOptions.CheckExcelRestriction property
Type: boolean
PptxSaveOptions.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
PptxSaveOptions.EncryptDocumentProperties property
Type: boolean