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

NameTypeAccessDescription
OnePagePerSheetboolRead/WriteGets or sets whether all content of each worksheet is rendered onto a single PDF page.
AllColumnsInOnePagePerSheetboolRead/WriteGets or sets whether all columns of each worksheet are rendered on a single page width.
DefaultFontstringRead/WriteGets or sets the fallback font family used when a cell’s configured font cannot be resolved on the host system.
SaveFormatSaveFormatRead/WriteGets or sets the output file format.
UseSharedStringsboolRead/WriteGets or sets whether shared strings should be used for string cells.
ValidateBeforeSaveboolRead/WriteGets or sets whether the workbook should be validated before save.
CompactStylesboolRead/WriteGets or sets whether equivalent styles should be compacted during save.
PreserveRecoveryMetadataboolRead/WriteGets or sets whether recovery metadata should be preserved in the saved workbook.

Methods

SignatureDescription
PdfSaveOptions()Initializes a new instance of the PdfSaveOptions class with SaveFormat set to Pdf.

See Also