IWorkbook
CreateFont Method (IFont)
|
Method that creates font object based on another font object
and registers 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(
IFont baseFont
)
Function CreateFont (
baseFont As IFont
) As IFont
IFont^ CreateFont(
IFont^ baseFont
)
abstract CreateFont :
baseFont : IFont -> IFont
Parameters
-
baseFont
-
Type:
Spire.Xls.Core
IFont
Base font for the new one.
Return Value
Type:
IFont
Newly created font.
See Also