MeasureString Method
TOC
Collapse the table of content
Expand the table of content

Graphics.MeasureString Method

Measures the specified string when drawn with the specified Font.

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.

Community Additions

ADD
Show:
© 2016 Microsoft