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
)
Protected Function AddFont (
font As IFont
) As Integer
protected:
int AddFont(
IFont^ font
)
member AddFont :
font : IFont -> int
Parameters
-
font
-
Type:
Spire.Xls.Core
IFont
The font to add.
Return Value
Type:
Int32
The index of the added font.
See Also