NanoXLSX Library Documentation
NanoXLSX Library Documentation
NanoXLSX
NanoXLSX.Styles
Font Class
Font Properties
Bold Property
Charset Property
ColorTheme Property
ColorValue Property
Family Property
IsDefaultFont Property
Italic Property
Name Property
Scheme Property
Size Property
Strike Property
Underline Property
VerticalAlign Property
Font
Name Property
Gets or sets the font name (Default is Calibri)
Namespace:
NanoXLSX.Styles
Assembly:
NanoXLSX (in NanoXLSX.dll) Version: 2.6.5+4f4b44a718a20dda8ca2c0c4d00bd7eee7c80f5d
Syntax
C#
Copy
public
string
Name
{
get
;
set
; }
Property Value
String
Exceptions
Exception
Condition
StyleException
A StyleException is thrown if the name is null or empty
Remarks
Note that the font name is not validated whether it is a valid or existing font. The font name may not exceed more than 31 characters
See Also
Reference
Font Class
NanoXLSX.Styles Namespace
Copyright Raphael Stoeckli © 2025