Click or drag to resize

mxUtilsGetSizeForString Method (String, Font)

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Returns the size of the given text.

Namespace:  imbSCI.Graph.MXGraph.utils
Assembly:  imbSCI.Graph (in imbSCI.Graph.dll) Version: 0.3.70.
Syntax
C#
public static mxRectangle GetSizeForString(
	string text,
	Font font
)
Request Example View Source

Parameters

text
Type: SystemString
String whose size should be returned.
font
Type: System.DrawingFont
Specifies the font that should be used.

Return Value

Type: mxRectangle
Returns the size of the given text.
See Also