Click or drag to resize

XlsFont MeasureString Method

Measures the size of a string when rendered with the specified 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 SizeF MeasureString(
	string strValue
)

Parameters

strValue
Type: System String
The string to measure.

Return Value

Type: SizeF
A SizeF structure that represents the size of the string.
See Also