This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5
Other versions are also available for the following:
.NET Framework Class Library
Graphics..::.MeasureString Method
Measures the specified string when drawn with the specified Font.

Overload List
|
| Name | Description |
|---|
.gif) .gif) | MeasureString(String, Font) | Measures the specified string when drawn with the specified Font. |
.gif) | MeasureString(String, Font, SizeF) | Measures the specified string when drawn with the specified Font within the specified layout area. |
.gif) | MeasureString(String, Font, Int32) | Measures the specified string when drawn with the specified Font. |
.gif) | MeasureString(String, Font, PointF, StringFormat) | Measures the specified string when drawn with the specified Font and formatted with the specified StringFormat. |
.gif) | MeasureString(String, Font, SizeF, StringFormat) | Measures the specified string when drawn with the specified Font and formatted with the specified StringFormat. |
.gif) | MeasureString(String, Font, Int32, StringFormat) | Measures the specified string when drawn with the specified Font and formatted with the specified StringFormat. |
.gif) | MeasureString(String, Font, SizeF, StringFormat, Int32%, Int32%) | Measures the specified string when drawn with the specified Font and formatted with the specified StringFormat. |
Top

See Also