XlsWorkbook
CreateFont Method (IFont)
|
Method that creates font object based on another font object
and registers it in the workbook.
Namespace:
Spire.Xls.Core.Spreadsheet
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public IFont CreateFont(
IFont baseFont
)
Public Function CreateFont (
baseFont As IFont
) As IFont
public:
virtual IFont^ CreateFont(
IFont^ baseFont
) sealed
abstract CreateFont :
baseFont : IFont -> IFont
override CreateFont :
baseFont : IFont -> IFont
Parameters
-
baseFont
-
Type:
Spire.Xls.Core
IFont
Base font for the new one.
Return Value
Type:
IFont
Newly created font.
Implements
IWorkbook
CreateFont(IFont)
See Also