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
)
Public Function AddFont (
fontToAdd As IFont
) As IFont
public:
virtual IFont^ AddFont(
IFont^ fontToAdd
) sealed
abstract AddFont :
fontToAdd : IFont -> IFont
override AddFont :
fontToAdd : IFont -> IFont
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