Measures the given text text by the given parameters.

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

Syntax

C#
public Rectangle MeasureString(
	string text,
	Font font
)

Parameters

text
Type: System..::.String
Text to measure.
font
Type: System.Drawing..::.Font
The Font font type.

Return Value

Returns measured text size.

See Also