Graphics.MeasureString Method
.NET Framework 4
Measures the specified string when drawn with the specified Font.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
MeasureString(String, Font) | Measures the specified string when drawn with the specified Font. |
|
MeasureString(String, Font, SizeF) | Measures the specified string when drawn with the specified Font within the specified layout area. |
|
MeasureString(String, Font, Int32) | Measures the specified string when drawn with the specified Font. |
|
MeasureString(String, Font, PointF, StringFormat) | Measures the specified string when drawn with the specified Font and formatted with the specified StringFormat. |
|
MeasureString(String, Font, SizeF, StringFormat) | Measures the specified string when drawn with the specified Font and formatted with the specified StringFormat. |
|
MeasureString(String, Font, Int32, StringFormat) | Measures the specified string when drawn with the specified Font and formatted with the specified StringFormat. |
|
MeasureString(String, Font, SizeF, StringFormat, Int32, Int32) | Measures the specified string when drawn with the specified Font and formatted with the specified StringFormat. |