Click or drag to resize

FontComponentGetCharacterWidth Method

Returns the character screen width.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2023.1.2.0 (2023.1.2.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