Click or drag to resize

FontComponentGetCharacterWidth Method

Returns the character screen width.

Namespace: NeoAxis
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public float GetCharacterWidth(
	double fontSize,
	CanvasRenderer forRenderer,
	char c
)

Parameters

fontSize  Double
 
forRenderer  CanvasRenderer
c  Char
The character.

Return Value

Single
The character screen width.
See Also