SaveOptions Class
Represents a base class for saving options of various file formats.
- Inheritance:
- System.ObjectSaveOptions
- Derived
Remarks
Following classes inherit from this base class:
Properties
ContentType
Gets the content-type for this specific file format as defined in the RFC 2616.
public abstract string ContentType { get; }
Public MustOverride ReadOnly Property ContentType As String
Property Value
- System.String
The content-type for this specific file format.
See Also
CsvDefault
Gets the default options for saving to Character Separated Values file format.
public static CsvSaveOptions CsvDefault { get; }
Public Shared ReadOnly Property CsvDefault As CsvSaveOptions
Property Value
Remarks
MS Excel uses ';' as default if current culture uses ',' for decimal separator. GemBox.Spreadsheet always uses ','.
HtmlDefault
Gets the default options for saving to HyperText Markup Language File format.
public static HtmlSaveOptions HtmlDefault { get; }
Public Shared ReadOnly Property HtmlDefault As HtmlSaveOptions
Property Value
ImageDefault
Gets the default options for saving to image formats.
public static ImageSaveOptions ImageDefault { get; }
Public Shared ReadOnly Property ImageDefault As ImageSaveOptions
Property Value
Limitations
Gets limitations for saving to a file formats.
public abstract FileFormatLimitations Limitations { get; }
Public MustOverride ReadOnly Property Limitations As FileFormatLimitations
Property Value
Remarks
This is the table for all limitations of each format:
Rows Columns Colors CellStyles XLSX 1048576 16384 16000000 64000 XLS 65536 256 56 3979 ODS 1048576 16384 16000000 64000 CSV System.Int32.MaxValue System.Int32.MaxValue System.Int32.MaxValue System.Int32.MaxValue TXT System.Int32.MaxValue System.Int32.MaxValue System.Int32.MaxValue System.Int32.MaxValue HTML System.Int32.MaxValue System.Int32.MaxValue System.Int32.MaxValue System.Int32.MaxValue PDF System.Int32.MaxValue System.Int32.MaxValue System.Int32.MaxValue System.Int32.MaxValue XPS System.Int32.MaxValue System.Int32.MaxValue System.Int32.MaxValue System.Int32.MaxValue IMAGE System.Int32.MaxValue System.Int32.MaxValue System.Int32.MaxValue System.Int32.MaxValue
OdsDefault
Gets the default options for saving to OpenDocument Spreadsheet file format.
public static OdsSaveOptions OdsDefault { get; }
Public Shared ReadOnly Property OdsDefault As OdsSaveOptions
Property Value
PdfDefault
Gets the default options for saving to Portable Document Format file.
public static PdfSaveOptions PdfDefault { get; }
Public Shared ReadOnly Property PdfDefault As PdfSaveOptions
Property Value
TxtDefault
Gets the default options for saving to Tab delimited file format.
public static CsvSaveOptions TxtDefault { get; }
Public Shared ReadOnly Property TxtDefault As CsvSaveOptions
Property Value
XlsbDefault
Gets the default options for saving to XLSB file format (Microsoft Excel Binary File Format).
public static XlsbSaveOptions XlsbDefault { get; }
Public Shared ReadOnly Property XlsbDefault As XlsbSaveOptions
Property Value
XlsDefault
Gets the default options for saving to, XLS file format (Microsoft Excel Spreadsheet format; Excel 2003 and prior versions) .
public static XlsSaveOptions XlsDefault { get; }
Public Shared ReadOnly Property XlsDefault As XlsSaveOptions
Property Value
XlsxDefault
Gets the default options for saving to XLSX file format (Microsoft Excel Open XML Spreadsheet; Excel 2007 and later).
public static XlsxSaveOptions XlsxDefault { get; }
Public Shared ReadOnly Property XlsxDefault As XlsxSaveOptions
Property Value
XpsDefault
Gets the default options for saving to XML Paper Specification file format.
public static XpsSaveOptions XpsDefault { get; }
Public Shared ReadOnly Property XpsDefault As XpsSaveOptions