Measures the specified text string when drawn with the current settings.

Namespace:  SGP.Baltie2D
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
[DefaultMethodAttribute]
public SizeF MeasureString(
	string text,
	int width
)

Parameters

text
Type: System..::.String
A string which will be measured.
width
Type: System..::.Int32
The maximum allowed width of the text.

Return Value

Returns the area size SizeF.

See Also