Graphics.MeasureString Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Measures the specified string when drawn with the specified Font.

Namespace:   System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

NameDescription
System_CAPS_pubmethodMeasureString(String, Font)

Measures the specified string when drawn with the specified Font.

System_CAPS_pubmethodMeasureString(String, Font, Int32)

Measures the specified string when drawn with the specified Font.

System_CAPS_pubmethodMeasureString(String, Font, Int32, StringFormat)

Measures the specified string when drawn with the specified Font and formatted with the specified StringFormat.

System_CAPS_pubmethodMeasureString(String, Font, PointF, StringFormat)

Measures the specified string when drawn with the specified Font and formatted with the specified StringFormat.

System_CAPS_pubmethodMeasureString(String, Font, SizeF)

Measures the specified string when drawn with the specified Font within the specified layout area.

System_CAPS_pubmethodMeasureString(String, Font, SizeF, StringFormat)

Measures the specified string when drawn with the specified Font and formatted with the specified StringFormat.

System_CAPS_pubmethodMeasureString(String, Font, SizeF, StringFormat, Int32, Int32)

Measures the specified string when drawn with the specified Font and formatted with the specified StringFormat.

Return to top
Show: