Class XlsxImportOptions
- Namespace
- DocWright.Spreadsheet
- Assembly
- DocWright.Spreadsheet.dll
Options data is written into a sheet with.
public sealed class XlsxImportOptions
- Inheritance
-
XlsxImportOptions
- Inherited Members
Constructors
Properties
- Columns
Gets the columns to import, in the order they are written. Empty, the default, imports every column of a table and every public readable property of an item whose type a cell can hold, in their own order.
- DateFormat
Gets or sets the number format code given to a cell that receives a date and does not already show dates. The default is
yyyy-mm-dd; null or empty gives none, and the cell then shows the date's serial number.
- HeaderStyle
Gets or sets the look of the header cells, or null to leave the cells' look alone.
- IncludeHeader
Gets or sets whether a row of headings is written above the data: the column names of a table, the property names of an item. The default is true. An array has no names and gets no header row.
- MaxRows
Gets or sets the most data rows an import may write, or null for no cap but the worksheet's own 1,048,576 rows. A source with more rows is refused with a ResourceLimitExceededException; it is never cut short in silence.