NanoXLSX Library Documentation
NanoXLSX Library Documentation
NanoXLSX
NanoXLSX
Worksheet Class
Worksheet Methods
SetSheetName Method
SetSheetName(String) Method
SetSheetName(String, Boolean) Method
Worksheet
Set
Sheet
Name(String) Method
Validates and sets the worksheet name
Namespace:
NanoXLSX
Assembly:
NanoXLSX (in NanoXLSX.dll) Version: 2.6.3+98f265239ae8df4639650ecd7029244cc5e52dfc
Syntax
C#
Copy
public
void
SetSheetName
(
string
name
)
Parameters
name
String
Name to set
Exceptions
Exception
Condition
FormatException
Throws a FormatException if the worksheet name is too long (max. 31) or contains illegal characters [ ] * ? / \
See Also
Reference
Worksheet Class
SetSheetName Overload
NanoXLSX Namespace
Copyright Raphael Stoeckli © 2025