Click or drag to resize

XlsWorkbook AddFont Method

Adds font into collection.

Namespace: Spire.Xls.Core.Spreadsheet
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public IFont AddFont(
	IFont fontToAdd
)

Parameters

fontToAdd
Type: Spire.Xls.Core IFont
Font to add.

Return Value

Type: IFont
Current font with correct font index, or same font from the collection if was added before.

Implements

IWorkbook AddFont(IFont)
See Also