[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.SaveOptionsBase

SaveOptionsBase Class

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.

Namespace: GrapeCity.Documents.Excel
Assembly: DS.Documents.Excel.dll
Syntax
public abstract class SaveOptionsBase
Public MustInherit Class SaveOptionsBase
Examples
PdfSaveOptions options = new PdfSaveOptions();
SaveFileFormat fileFormat = options.FileFormat;

Constructors

Name Description
SaveOptionsBase()

Properties

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.