[]
Base class for save options used by workbook and worksheet save operations.
This abstract class stores the target SaveFileFormat for a save operation and defines the common contract shared by format-specific save option types. Pass a concrete subclass to save APIs such as Save(string, SaveOptionsBase) or Save(string, SaveOptionsBase) to control how content is written for a particular output format.
Derived classes initialize the file format through this property and expose additional settings for their corresponding formats, such as CSV, HTML, PDF, SJS, or XLSX-based output.
public abstract class SaveOptionsBase
Public MustInherit Class SaveOptionsBase
PdfSaveOptions options = new PdfSaveOptions();
SaveFileFormat fileFormat = options.FileFormat;
| Name | Description |
|---|---|
| SaveOptionsBase() |
| Name | Description |
|---|---|
| FileFormat | Gets the file format associated with these save options. Concrete subclasses set this value to the format they support, such as Csv for CsvSaveOptions or Pdf for PdfSaveOptions. |