PdfSaveOptions
Overview
PdfSaveOptions is a class in Aspose.Cells FOSS for .NET.
Inherits from: SaveOptions.
Options controlling XLSX-to-PDF rendering.
This class declares 1 method for PdfSaveOptions objects in .NET programs.
Available methods include: PdfSaveOptions.
Public members are accessible to any .NET application after installing the Aspose.Cells FOSS for .NET package.
Properties: AllColumnsInOnePagePerSheet, CompactStyles, DefaultFont, OnePagePerSheet, PreserveRecoveryMetadata, SaveFormat, and 2 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
OnePagePerSheet | bool | Read/Write | Gets or sets whether all content of each worksheet is rendered onto a single PDF page. |
AllColumnsInOnePagePerSheet | bool | Read/Write | Gets or sets whether all columns of each worksheet are rendered on a single page width. |
DefaultFont | string | Read/Write | Gets or sets the fallback font family used when a cell’s configured font cannot be resolved on the host system. |
SaveFormat | SaveFormat | Read/Write | Gets or sets the output file format. |
UseSharedStrings | bool | Read/Write | Gets or sets whether shared strings should be used for string cells. |
ValidateBeforeSave | bool | Read/Write | Gets or sets whether the workbook should be validated before save. |
CompactStyles | bool | Read/Write | Gets or sets whether equivalent styles should be compacted during save. |
PreserveRecoveryMetadata | bool | Read/Write | Gets or sets whether recovery metadata should be preserved in the saved workbook. |
Methods
| Signature | Description |
|---|---|
PdfSaveOptions() | Initializes a new instance of the PdfSaveOptions class with SaveFormat set to Pdf. |