Workbook
CreateFont Method (Font)
|
Creates a font object and add it to the workbook.
Namespace:
Spire.Xls
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public ExcelFont CreateFont(
Font font
)
Public Function CreateFont (
font As Font
) As ExcelFont
public:
ExcelFont^ CreateFont(
Font^ font
)
member CreateFont :
font : Font -> ExcelFont
Parameters
-
font
-
Type:
System.Drawing
Font
Font to add
Return Value
Type:
ExcelFont
See Also