Click or drag to resize

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
)

Parameters

baseFont
Type: Spire.Xls.Core IFont
Base font for the new one.

Return Value

Type: IFont
Newly created font.
See Also