Measures the specified string when drawn with the specified System.Drawing.Font.
Namespace: Ifs.Fnd.CoreAssembly: Ifs.Fnd.Core (in Ifs.Fnd.Core.dll) Version: 4.0.0.0 (4.80.18.0)
Syntax
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:
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