Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
Graphics Class
Graphics Methods
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
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

Updated: November 2007

Measures the specified string when drawn with the specified Font.

  NameDescription
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.
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker