Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
Graphics Class
Graphics Methods
Collapse All/Expand All Collapse All
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

Measures the specified string when drawn with the specified Font.

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