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.2+7f12a949130e0be1e987e553d2d08c083176cdca
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