NanoXLSX Library Documentation
![]() | Workbook Constructor (String, String, Boolean) |
Constructor with filename ant the name of the first worksheet
Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 1.2.3.0 (1.2.3)

C#
public Workbook( string filename, string sheetName, bool sanitizeSheetName )
Parameters
- filename
- Type: SystemString
Filename of the workbook - sheetName
- Type: SystemString
Name of the first worksheet - sanitizeSheetName
- Type: SystemBoolean
If true, the name of the worksheet will be sanitized automatically according to the specifications of Excel
