Nucleus .Net Core CMS

Excel.ExcelWorksheet Class

Namespace: Nucleus.Extensions.Excel
Assembly: Nucleus.Extensions.dll
Base class for the ExcelReader and ExcelWriter classes.
Current row index.
Excel workbook being created.
Excel worksheet being created.
Remarks
Callers can create multiple worksheets by calling WorkBook.WorkSheets.Add.
List of worksheet columns.
MIME type for Excel (xlsx) format.
AddColumn (PropertyInfo propertyInfo)
Add a column and auto-detect values using reflection.
Parameters
Name Type
propertyInfo System.Reflection.PropertyInfo
AddColumn (String name, String caption, XLDataType dataType)
Add a column.
Parameters
Name Type
name String
caption String
dataType ClosedXML.Excel.XLDataType
GetXLDataType (Type type)
Return the spreadsheet data type which matches the specified type
Parameters
Name Type
type Type
RemoveColumn (String name)
Remove the specified column column.
Parameters
Name Type
name String