Class LoadOptions
- Namespace
- SheetStream
- Assembly
- SheetStream.dll
Options for LoadFromCollection<T>(IEnumerable<T>, LoadOptions?), LoadFromDataTable(DataTable, LoadOptions?) and LoadFromDataReader(IDataReader, LoadOptions?).
public sealed class LoadOptions
- Inheritance
-
LoadOptions
- Inherited Members
Properties
AutoFilter
Adds AutoFilter drop-downs to the header row (ignored when a table is created, which has its own).
public bool AutoFilter { get; set; }
Property Value
ColumnStyles
Per-column styles keyed by column name (property name, header text or data column name).
public IDictionary<string, CellStyle> ColumnStyles { get; }
Property Value
HeaderStyle
Style of the header cells, or null.
public CellStyle? HeaderStyle { get; set; }
Property Value
PrintHeaders
Write a header row with the column names. Default true.
public bool PrintHeaders { get; set; }
Property Value
StartColumn
First column to write to (1-based). Default 1.
public int StartColumn { get; set; }
Property Value
TableName
Creates an Excel table with this name over the loaded range (header included). Requires PrintHeaders.
public string? TableName { get; set; }
Property Value
TableStyle
Table style when TableName is set. Default "TableStyleMedium2".
public string TableStyle { get; set; }