IWorkbook
CreateFont Method (Font)
|
Method creates a font object based on native font and register it in the workbook.
Namespace:
Spire.Xls.Core
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
IFont CreateFont(
Font nativeFont
)
Function CreateFont (
nativeFont As Font
) As IFont
IFont^ CreateFont(
Font^ nativeFont
)
abstract CreateFont :
nativeFont : Font -> IFont
Parameters
-
nativeFont
-
Type:
System.Drawing
Font
Native font to get settings from.
Return Value
Type:
IFont
Newly created font.
See Also