.NET Framework Class Library
Graphics..::.MeasureString Method

Measures the specified string when drawn with the specified Font.

Overload List

  NameDescription
Public methodSupported by the .NET Compact FrameworkMeasureString(String, Font)Measures the specified string when drawn with the specified Font.
Public methodMeasureString(String, Font, SizeF)Measures the specified string when drawn with the specified Font within the specified layout area.
Public methodMeasureString(String, Font, Int32)Measures the specified string when drawn with the specified Font.
Public methodMeasureString(String, Font, PointF, StringFormat)Measures the specified string when drawn with the specified Font and formatted with the specified StringFormat.
Public methodMeasureString(String, Font, SizeF, StringFormat)Measures the specified string when drawn with the specified Font and formatted with the specified StringFormat.
Public methodMeasureString(String, Font, Int32, StringFormat)Measures the specified string when drawn with the specified Font and formatted with the specified StringFormat.
Public methodMeasureString(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

Reference

Tags :


Page view tracker