Click or drag to resize

XlsWorkbook CreateFont Method (Font)

Method creates a font object based on native font and register it in the workbook.

Namespace: Spire.Xls.Core.Spreadsheet
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public IFont CreateFont(
	Font nativeFont
)

Parameters

nativeFont
Type: System.Drawing Font
Native font to get settings from.

Return Value

Type: IFont
Newly created font.

Implements

IWorkbook CreateFont(Font)
See Also