Measures the given text text by the given parameters.

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

Syntax

C#
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public Rectangle MeasureString(
	string text,
	DrawTextFormat format
)

Parameters

text
Type: System..::.String
Text to measure.
format
Type: DrawTextFormat
The DrawTextFormat text format defines way of displaying the text.

Return Value

Returns measured text size.

See Also