Click or drag to resize

FontComponentGetCharacterWidth Method

Returns the character screen width.

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

Parameters

fontSize
Type: SystemDouble
forRenderer
Type: NeoAxisCanvasRenderer
c
Type: SystemChar
The character.

Return Value

Type: Single
The character screen width.
See Also