GemBox.Spreadsheet

ExcelFile Constructor 

Initializes an empty (no worksheets) instance of the ExcelFile class.

public ExcelFile();

Remarks

To add new worksheets to a blank file use Worksheets property, Add method.

To save created file use SaveXls(string) / SaveXls(Stream) or SaveCsv method.

To read existing file or use existing file as a template use LoadXls(string,XlsOptions) / LoadXls(Stream,XlsOptions) or LoadCsv method.

See Also

ExcelFile Class | GemBox.Spreadsheet Namespace