Click or drag to resize

FontComponentGetTextLength Method

Returns the text screen width.

Namespace: NeoAxis
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public float GetTextLength(
	double fontSize,
	CanvasRenderer forRenderer,
	string text
)

Parameters

fontSize  Double
 
forRenderer  CanvasRenderer
text  String
The text.

Return Value

Single
The text screen width.
See Also