Click or drag to resize

RichTextString AddFont Method

Adds a font to the worksheet.

Namespace: Spire.Xls.Core.Spreadsheet
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
protected int AddFont(
	IFont font
)

Parameters

font
Type: Spire.Xls.Core IFont
The font to add.

Return Value

Type: Int32
The index of the added font.
See Also