Graphics.MeasureString Method
.NET Framework 2.0
Measures the specified string when drawn with the specified Font.
Graphics Members
System.Drawing Namespace
TextRenderer.MeasureText
| Name | Description |
|---|---|
| Graphics.MeasureString (String, Font) | Measures the specified string when drawn with the specified Font. Supported by the .NET Compact Framework. |
| Graphics.MeasureString (String, Font, Int32) | Measures the specified string when drawn with the specified Font. |
| Graphics.MeasureString (String, Font, SizeF) | Measures the specified string when drawn with the specified Font within the specified layout area. |
| Graphics.MeasureString (String, Font, Int32, StringFormat) | Measures the specified string when drawn with the specified Font and formatted with the specified StringFormat. |
| Graphics.MeasureString (String, Font, PointF, StringFormat) | Measures the specified string when drawn with the specified Font and formatted with the specified StringFormat. |
| Graphics.MeasureString (String, Font, SizeF, StringFormat) | Measures the specified string when drawn with the specified Font and formatted with the specified StringFormat. |
| Graphics.MeasureString (String, Font, SizeF, StringFormat, Int32, Int32) | Measures the specified string when drawn with the specified Font and formatted with the specified StringFormat. |
Reference
Graphics ClassGraphics Members
System.Drawing Namespace
TextRenderer.MeasureText
Other Resources
Using Fonts and TextCommunity Additions
ADD
Show: