RtfTextWriter
AddFont Method
|
Adds new font to the collection.
Namespace:
Spire.Xls.Core.Spreadsheet
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public int AddFont(
Font font
)
Public Function AddFont (
font As Font
) As Integer
public:
int AddFont(
Font^ font
)
member AddFont :
font : Font -> int
Parameters
-
font
-
Type:
System.Drawing
Font
Font to add.
Return Value
Type:
Int32
Index of the font.
See Also