Click or drag to resize

XlsFont GenerateNativeFont Method (Single)

Generates a Font object based on the specified size and the current font settings.

Namespace: Spire.Xls.Core.Spreadsheet
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public Font GenerateNativeFont(
	float size
)

Parameters

size
Type: System Single
The size of the font to generate.

Return Value

Type: Font
A Font object with the specified size and the current font settings (bold, italic, strikethrough, underline, and charset).
See Also