FastExcel Class

/// Fast Excel ///
Public Class FastExcel 
Implements IDisposable
This language is not supported or no code example is available.
public class FastExcel : IDisposable
This language is not supported or no code example is available.
public ref class FastExcel  : public IDisposable
This language is not supported or no code example is available.
public class FastExcel 
implements IDisposable
This language is not supported or no code example is available.
Name Description
Public constructor FastExcel(FileInfo, bool) /// Update an existing excel file ///
Public constructor FastExcel(FileInfo, FileInfo) /// Create a new excel file from a template ///
Public constructor FastExcel(Stream) /// Update an existing excel file stream ///
Public constructor FastExcel(Stream, Stream, bool, bool) /// Create a new excel file from a template ///
Top
Name Description
Public property ExcelFile /// Output excel file ///
Public property ReadOnly /// Is the excel file read only ///
Public property TemplateFile /// The template excel file ///
Public property Worksheets List of worksheets, loaded on first access of property
Top
Methods
 
Name Description
Protected method Dispose(bool) /// Main disposal function ///
Public method Dispose() /// Saves any pending changes to the Excel stream and adds/updates associated files if needed ///
Public method GetCellByDefinedName(string, Nullable<Int32>) Returns cell by defined name If theres more than one, this is the first one.
Public method GetCellRangesByDefinedName(string, Nullable<Int32>) Retrieves ranges of cells by their defined name
Public method GetCellsByColumnName(string, int, Nullable<Int32>) Returns all cells in a column by name, within optional row range
Public method GetCellsByDefinedName(string, Nullable<Int32>) Gets all cells by defined name Like GetCellRangesByCellName, but just retreives all cells in a single list
Public method GetWorksheetIndexFromName(string) /// Retrieves the index for given worksheet name ///
Public method Read(int, int) /// Read a sheet by sheet number ///
Public method Read(string, int) /// Read a sheet by sheet name ///
Public method Update(Worksheet, int) /// Update the worksheet ///
Public method Update(Worksheet, string) /// Update the worksheet ///
Public method Write(DataTable, string) Write a excel from datatable
Public method Write(Worksheet) Write data to a sheet
Public method Write(Worksheet, int, int) Write data to a sheet
Public method Write(Worksheet, string, int) Write data to a sheet
Public method Write<T>(IEnumerable<T>, int, bool) Write a list of objects to a sheet
Public method Write<T>(IEnumerable<T>, int, int) Write a list of objects to a sheet
Public method Write<T>(IEnumerable<T>, string, bool) Write a list of objects to a sheet
Public method Write<T>(IEnumerable<T>, string, int) Write a list of objects to a sheet
Top
Name Description
Public extension method NameOf(this object) (Defined by NLogHelper).
Top

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition