Click or drag to resize

FndRTLGraphics.MeasureString Method (String, Font)

Measures the specified string when drawn with the specified System.Drawing.Font.

Namespace:  Ifs.Fnd.Core
Assembly:  Ifs.Fnd.Core (in Ifs.Fnd.Core.dll) Version: 4.52.10.0 (10.2.2.9999)
Syntax
C#
public SizeF MeasureString(
	string text,
	Font font
)

Parameters

text
Type: System.String
String to measure.
font
Type: System.Drawing.Font
System.Drawing.Font that defines the text format of the string.

Return Value

Type: SizeF
This method returns a System.Drawing.SizeF structure that represents the size, in the units specified by the System.Drawing.Graphics.PageUnit property, of the string specified by the text parameter as drawn with the font parameter.
See Also