Click or drag to resize

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
)

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